Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 5 1 2 3 ... LastLast
Results 1 to 10 of 45
  1. #1
    Senior Member
    Join Date
    Sep 2003
    Location
    Sydney
    Posts
    114
    Member #
    3051
    I have quite a big form which requests a lot of information from a potential customer. However, I need to implement CAPTCHA or some bot-stopping code into.

    I've tried many out there and just nothing works at all for what I need.

    Can anyone recommend a free form generator with CAPTCHA or is anyone about to check out some code?

  2.  

  3. #2
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    What hasn't worked about others? We probably need to know that so we can help you find one that avoids those issues.

  4. #3
    Senior Member
    Join Date
    Sep 2003
    Location
    Sydney
    Posts
    114
    Member #
    3051
    process.php

    PHP Code:
    <?php

    include("global.inc.php");
    $errors=0;
    $error="The following errors occured while processing your form input.<ul>";
    pt_register('POST','title');
    pt_register('POST','name');
    pt_register('POST','email');
    pt_register('POST','address');
    pt_register('POST','city');
    pt_register('POST','postalcode');
    pt_register('POST','province');
    pt_register('POST','country');
    pt_register('POST','phone');
    pt_register('POST','fax');
    pt_register('POST','adults');
    pt_register('POST','youths');
    pt_register('POST','children');
    pt_register('POST','infants');
    pt_register('POST','purpose');
    pt_register('POST','from');
    pt_register('POST','to');
    pt_register('POST','departure');
    pt_register('POST','return');
    pt_register('POST','flexibility');
    pt_register('POST','typeflight');
    pt_register('POST','classflight');
    pt_register('POST','accomodation');
    pt_register('POST','room');
    pt_register('POST','southaf');
    pt_register('POST','namibia');
    pt_register('POST','zimbabwe');
    pt_register('POST','swaziland');
    pt_register('POST','tunisia');
    pt_register('POST','seychelles');
    pt_register('POST','kenya');
    pt_register('POST','botswana');
    pt_register('POST','morocco');
    pt_register('POST','tanzania');
    pt_register('POST','zambia');
    pt_register('POST','egypt');
    pt_register('POST','mauritius');
    pt_register('POST','citystopover');
    pt_register('POST','gamelodges');
    pt_register('POST','islandresort');
    pt_register('POST','trekking');
    pt_register('POST','rail');
    pt_register('POST','smallgroup');
    pt_register('POST','selfdrive');
    pt_register('POST','fullyescorted');
    pt_register('POST','cruises');
    pt_register('POST','safaritours');
    pt_register('POST','adventure');
    pt_register('POST','other');
    pt_register('POST','africaexperts');
    pt_register('POST','acaciaafrica');
    pt_register('POST','globetrotting');
    pt_register('POST','otherdetails');
    $otherdetails=preg_replace("/(\015\012)|(\015)|(\012)/","&nbsp;<br />"$otherdetails);pt_register('POST','budget');
    pt_register('POST','hearabout');
    pt_register('POST','hearother');
    if(
    $name=="" || $email=="" || $address=="" || $city=="" || $postalcode=="" || $province=="" || $country=="" || $phone=="" || $departure=="" || $title=="" ){
    $errors=1;
    $error.="<li>You did not enter one or more of the required fields. Please go back and try again.";
    }
    if(!
    eregi("^[a-z0-9]+([_\\.-][a-z0-9]+)*" ."@"."([a-z0-9]+([\.-][a-z0-9]+)*)+"."\\.[a-z]{2,}"."$",$email)){
    $error.="<li>Invalid email address entered";
    $errors=1;
    }
    if(
    $errors==1) echo $error;
    else{
    $where_form_is="http".($HTTP_SERVER_VARS["HTTPS"]=="on"?"s":"")."://".$SERVER_NAME.strrev(strstr(strrev($PHP_SELF),"/"));
    $message="name: ".$name."
    title: "
    .$title."
    email: "
    .$email."
    address: "
    .$address."
    city: "
    .$city."
    postalcode: "
    .$postalcode."
    province: "
    .$province."
    country: "
    .$country."
    phone: "
    .$phone."
    fax: "
    .$fax."
    adults: "
    .$adults."
    youths: "
    .$youths."
    children: "
    .$children."
    infants: "
    .$infants."
    purpose: "
    .$purpose."
    from: "
    .$from."
    to: "
    .$to."
    departure: "
    .$departure."
    return: "
    .$return."
    flexibility: "
    .$flexibility."
    typeflight: "
    .$typeflight."
    classflight: "
    .$classflight."
    accomodation: "
    .$accomodation."
    room: "
    .$room."
    southaf: "
    .$southaf."
    namibia: "
    .$namibia."
    zimbabwe: "
    .$zimbabwe."
    swaziland: "
    .$swaziland."
    tunisia: "
    .$tunisia."
    seychelles: "
    .$seychelles."
    kenya: "
    .$kenya."
    botswana: "
    .$botswana."
    morocco: "
    .$morocco."
    tanzania: "
    .$tanzania."
    zambia: "
    .$zambia."
    egypt: "
    .$egypt."
    mauritius: "
    .$mauritius."
    citystopover: "
    .$citystopover."
    gamelodges: "
    .$gamelodges."
    islandresort: "
    .$islandresort."
    trekking: "
    .$trekking."
    rail: "
    .$rail."
    smallgroup: "
    .$smallgroup."
    selfdrive: "
    .$selfdrive."
    fullyescorted: "
    .$fullyescorted."
    cruises: "
    .$cruises."
    safaritours: "
    .$safaritours."
    adventure: "
    .$adventure."
    other: "
    .$other."
    africaexperts: "
    .$africaexperts."
    acaciaafrica: "
    .$acaciaafrica."
    globetrotting: "
    .$globetrotting."
    otherdetails: "
    .$otherdetails."
    budget: "
    .$budget."
    hearabout: "
    .$hearabout."
    hearother: "
    .$hearother."
    verif_box: "
    .$verif_box"
    "
    ;
    $message stripslashes($message);

    // check to see if verificaton code was correct
    if(md5($verif_box).'a4xn' == $_COOKIE['tntcon']){
        
    // if verification code was correct send the message and show this page
        
    mail("thfcspur@hotmail.com","Quote Requested - Africa",$message,"From: PacesetterTravel.com");
        
    // delete the cookie so it cannot sent again by refreshing this page
        
    setcookie('tntcon','');
    } else {
        
    // if verification code was incorrect then return to contact page and show error
        
    echo "you stuffed up";
        exit;
    }
    ?>

    <!-- This is the content of the Thank you page, be careful while changing it -->

    <h2>Thank you!</h2>

    <table width=50%>
    <tr><td>title: </td><td> <?php echo $title?> </td></tr>
    <!--you get the idea-->
    <tr><td>hearother: </td><td> <?php echo $hearother?> </td></tr>
    </table>
    <!-- Do not change anything below this line -->

    <?php 
    }
    ?>

  5. #4
    Senior Member
    Join Date
    Sep 2003
    Location
    Sydney
    Posts
    114
    Member #
    3051
    index.php - the form

    PHP Code:
    <head>
    <!--For WYSIWYG purposes only--><link href="../../styles/index.css" rel="stylesheet" type="text/css" /><!--For WYSIWYG purposes only-->
    <script type="text/JavaScript">
    <!--
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    function MM_validateForm() { //v4.0
      var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
      for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
        if (val) { nm=val.name; if ((val=val.value)!="") {
          if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
            if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
          } else if (test!='R') { num = parseFloat(val);
            if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
            if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
              min=test.substring(8,p); max=test.substring(p+1);
              if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
        } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
      } if (errors) alert('The following error(s) occurred:\n'+errors);
      document.MM_returnValue = (errors == '');
    }
    //-->
    </script>
    </head>
    <form enctype='multipart/form-data' action='quotes/africa/working/process.php' method='post' onsubmit="MM_validateForm('','R','verif_box');return document.MM_returnValue">
    <div class="welcomebanner"><img src="images/spacer.gif" alt="spacer" / height="45"></div><!--No need to change the image links - the php(include) will render them right-->
    <div class="welcome"><img src="images/quotes/africa.jpg" alt="Africa" width="405" height="11" /></div>
    <div class="text">The following links are provided for information purposes only. If you click on one of these links you will leave our site. Please note Pacesetter Travel cannot and does not endorse or edit any of these links.
    </div>
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <!--linksleft--><div id="linksleft"><!--linksleft-->
    Title: <br />
      <select name='title' class="formstyles">
        <option value='Mr.' selected="selected">Mr.</option>
        <option value='Ms.'>Ms.</option>
        <option value='Miss.'>Miss.</option>
        <option value='Mrs.'>Mrs.</option>
        <option value='Dr.'>Dr.</option>
      </select>
    <!--linksleft--></div><!--linksleft-->
    <!--linksright--><div id="linksright"><!--linksright-->
    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <!--linksleft-->
    <div id="linksleft"><!--linksleft-->
    Name:*<br />
    <input type=text name='name' class="formstyles">
    <!--linksleft--></div><!--linksleft-->
    <!--linksright-->
    <div id="linksright"><!--linksright-->
    E-Mail:*<br />
    <input type=email name='email' class="formstyles">
    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <!--linksleft-->
    <div id="linksleft"><!--linksleft-->
    Address:*<br />
    <input type=text name='address' class="formstyles">
    <!--linksleft--></div><!--linksleft-->
    <!--linksright-->
    <div id="linksright"><!--linksright-->
    City:*<br />
    <input type=text name='city' class="formstyles">
    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <!--linksleft-->
    <div id="linksleft"><!--linksleft-->
    Province/State:*<br />
    <select name="province" size="1" id="province" class="formstyles">
      <option selected> </option>
      <option>ON</option>
    <!--states-->
      <option>NOT APPLICABLE</option>
    </select>
    <!--linksleft--></div><!--linksleft-->
    <!--linksright-->
    <div id="linksright"><!--linksright-->
    Postal Code:*<br />
    <input type=text name='postalcode' class="formstyles">
    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <!--linksleft-->
    <div id="linksleft"><!--linksleft-->
    Country:*<br />
    <select name="country" size="1" class="formstyles" id="select25">
      <option selected> </option>
      <option value="Canada">Canada</option>
    <--countries-->
      <option value="Zimbabwe">Zimbabwe</option>
    </select>
    <!--linksleft--></div><!--linksleft-->
    <!--linksright--><div id="linksright"><!--linksright-->

    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <!--linksleft-->
    <div id="linksleft"><!--linksleft-->
    Phone Number:* <span class="boldtext">(xxx-xxx-xxxx)</span><br />
    <input type=text name='phone' class="formstyles">
    <!--linksleft--></div>
    <!--linksleft-->
    <!--linksright--><div id="linksright"><!--linksright-->
    Fax Number:<br />
    <input type=text name='fax' class="formstyles">
    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <div class="quotetext"><span class="boldtext">PLEASE NOTE:</span> Ages given should be those on date of travel.</div><br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <!--linksleft--><div id="linksleft"><!--linksleft-->
    No. of Adults:<br />
    <select name='adults' class="formstyles">
        <option value='1'>1
        <option value='2'>2
        <option value='3'>3
        <option value='4'>4
        <option value='5'>5
        <option value='6'>6
        <option value='7'>7
        <option value='8'>8
    </select>
    <!--linksleft--></div><!--linksleft-->
    <!--linksright--><div id="linksright"><!--linksright-->
    No. of Youths (12-18):<br />
    <select name='youths' class="formstyles">
        <option value='0' selected="selected">-
        <option value='1'>1
        <option value='2'>2
        <option value='3'>3
        <option value='4'>4
        <option value='5'>5
        <option value='6'>6
        <option value='7'>7
        <option value='8'>8
    </select>
    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <!--linksleft--><div id="linksleft"><!--linksleft-->
    No. of Children (2-11):<br />
    <select name='children' class="formstyles">
        <option value='0' selected="selected">-
        <option value='1'>1
        <option value='2'>2
        <option value='3'>3
        <option value='4'>4
        <option value='5'>5
        <option value='6'>6
        <option value='7'>7
        <option value='8'>8
    </select>
    <!--linksleft--></div><!--linksleft-->
    <!--linksright--><div id="linksright"><!--linksright-->
    No. of Infants:<br />
    <select name='infants' class="formstyles">
        <option value='0' selected="selected">-
        <option value='1'>1
        <option value='2'>2
        <option value='3'>3
        <option value='4'>4
        <option value='5'>5
        <option value='6'>6
        <option value='7'>7
        <option value='8'>8
    </select>
    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <!--linksleft--><div id="linksleft"><!--linksleft-->
    What is the purpose of your trip?
    <!--linksleft--></div><!--linksleft-->
    <!--linksright--><div id="linksright"><!--linksright-->
    <select name='purpose' class="formstyles">
        <option value='-'>-
        <option value='Holiday'>Holiday
        <option value='Honeymoon'>Honeymoon
        <option value='Anniversary'>Anniversary
        <option value='Visiting Friends/Relatives'>Visiting Friends/Relatives
        <option value='Business'>Business
        <option value='Other'>Other
    </select>
    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <div class="quotehead">Flight Details</div><br />
    <!--linksleft--><div id="linksleft"><!--linksleft-->
    From:<br />
    <input type=text name='from' class="formstyles">
    <!--linksleft--></div><!--linksleft-->
    <!--linksright--><div id="linksright"><!--linksright-->
    To:<br />
    <input type=text name='to' class="formstyles">
    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <!--linksleft-->
    <div id="linksleft"><!--linksleft-->
    Departure:*<br />
    <input type=text name='departure' class="formstyles">
    <!--linksleft--></div><!--linksleft-->
    <!--linksright--><div id="linksright"><!--linksright-->
    Return:<br />
    <input type=text name='return' class="formstyles">
    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <!--linksleft--><div id="linksleft"><!--linksleft-->
    Flexibility (days):<br />
    <select name='flexibility' class="formstyles">
        <option value='0'>0
        <option value='+/-1'>+/-1
        <option value='+/-2'>+/-2
        <option value='+/-3'>+/-3
        <option value='+/-4'>+/-4
        <option value='+/-5'>+/-5
        <option value='+/-6'>+/-6
        <option value='+/-7'>+/-7
    </select>
    <!--linksleft--></div><!--linksleft-->
    <!--linksleft--><div id="linksright"><!--linksright-->

    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <!--linksleft--><div id="linksleft"><!--linksleft-->
    Type of Flight:<br />
    <select name='typeflight' class="formstyles">
        <option value='-'>-
        <option value='Return'>Return
        <option value='One Way'>One Way
    </select>
    <!--linksleft--></div><!--linksleft-->
    <!--linksright--><div id="linksright"><!--linksright-->
    Class of Flight:<br />
    <select name='classflight' class="formstyles">
        <option value='-'>-
        <option value='Economy'>Economy
        <option value='Business'>Business
        <option value='First'>First
    </select>
    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <div class="quotehead">Accomodation</div><br />
    <span class="quotetext">Which of the following are you interested in?</span><br />
    <!--linksleft--><div id="linksleft"><!--linksleft-->
    Type of Accomodation:<br />
    <select name='accomodation' class="formstyles">
        <option value='-'>-
        <option value='Moderate'>Moderate
        <option value='First'>First
        <option value='Deluxe'>Deluxe
    </select>
    <!--linksleft--></div><!--linksleft-->
    <!--linksright--><div id="linksright"><!--linksright-->
    Type of Room:<br />
    <select name='room' class="formstyles">
        <option value='-'>-
        <option value='Double'>Double
        <option value='Twin'>Twin
        <option value='Triple'>Triple
        <option value='Quad'>Quad
    </select>
    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div>
    <!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <div class="quotehead">Destinations</div><br />
    <span class="quotetext">Which of the following are you interested in?</span><br />
    <!--linksleft--><div id="linksleft"><!--linksleft-->
    <input type=checkbox name='southaf'> South Africa<br />
    <input type=checkbox name='namibia'> Namibia<br />
    <input type=checkbox name='zimbabwe'> Zimbabwe<br />
    <input type=checkbox name='swaziland'> Swaiziland<br />
    <input type=checkbox name='tunisia'> Tunisia<br />
    <input type=checkbox name='seychelles'> Seychells<br />
    <input type=checkbox name='kenya'> Kenya
    <!--linksleft--></div><!--linksleft-->
    <!--linksright--><div id="linksright"><!--linksright-->
    <input type=checkbox name='botswana'> Botswana<br />
    <input type=checkbox name='morocco'> Morocco<br />
    <input type=checkbox name='tanzania'> Tanzania<br />
    <input type=checkbox name='zambia'> Zambia<br />
    <input type=checkbox name='egypt'> Egypt<br />
    <input type=checkbox name='mauritius'> Mauritius
    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div>
    <!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <span class="quotetext">Which of the following are you interested in?</span><br />
    <!--linksleft--><div id="linksleft"><!--linksleft-->
    <input type=checkbox name='citystopover'> City Stopover<br />
    <input type=checkbox name='gamelodges'> Game Lodges<br />
    <input type=checkbox name='islandresort'> Island Resort<br />
    <input type=checkbox name='trekking'> Trekking<br />
    <input type=checkbox name='rail'> Rail<br />
    <input type=checkbox name='smallgroup'> Small Group Tours<br />
    <!--linksleft--></div><!--linksleft-->
    <!--linksright--><div id="linksright"><!--linksright-->
    <input type=checkbox name='selfdrive'> Car Hire/Self Drive<br />
    <input type=checkbox name='fullyescorted'> Fully Escorted<br />
    <input type=checkbox name='cruises'> Cruises<br />
    <input type=checkbox name='safaritours'> Safari Tours<br />
    <input type=checkbox name='adventure'> Adventure/Camping<br />
    Other: <input type=text name='other' class="formstyles">
    <!--linksright--></div><!--linksright-->
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <div class="quotehead">Brochure Request (North America Only)</div><br />
    <span class="quotetext">Would you like to receive one of our brochures?</span><br />
    <input type=checkbox name='africaexperts'> Africa Experts<br />
    <input type=checkbox name='acaciaafrica'> Acacia Africa<br />
    <input type=checkbox name='globetrotting'> Globetrotting with Goway Magazine<br />
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    <br />
    <!--linksmain--><div id="linksmain"><!--linksmain-->
    <div class="quotehead">Other Details</div><br />
    <span class="quotetext">Please provide any further details you feel might help us deliver the most competitive quote e.g. reasons for going on this trip, specific hotels or attractions you'd like included in your itinerary, etc...?</span><br />
    <div align="center"><textarea name='otherdetails' rows=5 cols=70 class="formstyles"></textarea></div>
    <br />
    <div class="quotehead">Your Budget</div><br />
    <span class="quotetext">An idea of your total budget will help us create that holiday that's right for you.</span><br />
    <input type=text name='budget' class="formstyles"><br /><br />
    Finally, how did you hear about Pacesetter?<br />
    <select name='hearabout' class="formstyles">
        <option value='-'>-
        <option value='Goway.com'>Goway.com
        <option value='Brochure'>Brochure
        <option value='Newspaper'>Newspaper
        <option value='Globe and Mail'>Globe and Mail
        <option value='Travel Show'>Travel Show
        <option value='Mailing'>Mailing
        <option value='Other'>Other
    </select> If other: <input type=text name='hearother' class="formstyles"><br /><br />
    <div class="quotehead">Security Image</div><br />
    <img src="quotes/africa/working/verificationimage.php" alt="verification image, type it in the box" width="50" height="24" align="absbottom" /><br /><br />
    Security Code: <input name="verif_box" type="text" id="verif_box" class="formstyles" />
    <?php if(isset($_GET['wrong_code'])){?>
    <div style="border:1px solid #990000; background-color:#D70000; color:#FFFFFF; padding:4px; padding-left:6px;width:295px;">Wrong verification code</div><br /> 
    <?php ;}?>
    <br /><br />
    <div align="center"><input type='submit' value='Submit Form' class="formstyles"> <input type=reset value='Clear Form' class="formstyles">
    <!--linksmain--></div><!--linksmain-->
    <br style="clear:both" />
    </form>

  6. #5
    Senior Member
    Join Date
    Sep 2003
    Location
    Sydney
    Posts
    114
    Member #
    3051

  7. #6
    Senior Member rosland's Avatar
    Join Date
    Jul 2003
    Location
    Norway
    Posts
    1,944
    Member #
    2096
    Quote Originally Posted by silver10
    ...I've tried many out there and just nothing works at all for what I need.
    Quote Originally Posted by Shadowfiend
    What hasn't worked about others? We probably need to know that so we can help you find one that avoids those issues.
    As you can see, Shadowfiend is not asking for your entire code, but for you to explain what is not working.
    You need to explain what kind of CAPTCHA problems you're having.
    Calling customer support for your new PC and saying "something is wrong with my computer", without explaining exactly what the symptoms are, will lead to a fruitless session.

    You can find a workable CAPTCHA script here.
    (I've tried it, and it works fine)
    S. Rosland

  8. #7
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    That one might work, but it looks easily defeatable (no distortion or movement of the characters).
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  9. #8
    Senior Member
    Join Date
    Sep 2003
    Location
    Sydney
    Posts
    114
    Member #
    3051
    Quote Originally Posted by rosland
    As you can see, Shadowfiend is not asking for your entire code, but for you to explain what is not working.
    You need to explain what kind of CAPTCHA problems you're having.
    Calling customer support for your new PC and saying "something is wrong with my computer", without explaining exactly what the symptoms are, will lead to a fruitless session.

    You can find a workable CAPTCHA script here.
    (I've tried it, and it works fine)
    That's the first one I tried but when I implement it with my form, the users input isn't checked it.
    It submits the form as normal, even if the verification is wrong.

    How many ways can a CAPTCHA thing not work?

  10. #9
    Senior Member rosland's Avatar
    Join Date
    Jul 2003
    Location
    Norway
    Posts
    1,944
    Member #
    2096
    Quote Originally Posted by silver10
    How many ways can a CAPTCHA thing not work?
    Many ways, like most other coding problems. At least when your error description is as vague as "nothing works at all".
    Here are some examples:
    • The script doesn't generate any symbols (numbers/letters), or at least they're not visible.
    • The script generates symbols, but they're always the same.
    • When reloading the page, the symbols remain the same.
    • Regardless of what visitor enters (correct or not), the script rejects the input as wrong.
    • Regardless of what the visitor enters, the script always interprets it as correct.
    • The script itself can generate an error when loading, either on the forms page itself or the recieving script. That might indicate an error in the original script, or that you have introduced a spelling/syntax error, or that some required GD module is missing from the server.
    • Furthermore, you say you have tried many different scripts and that none of them works. Is it the same problem that arises with every new script you try, or are different errors manifesting themselves with different scripts? The list could go on.

    If one were to error check the script for every conceivable error it might produce, it would be a time consuming and tedious task. You would probably not find anybody willing to be bothered.
    There are no such thing as a "standard" error. Anything and everything can be the culprit in producing an undesirable result. It is far less time consuming for you to give an accurate description of "the symptoms", than it is for any helper to try to identify your particular problem (if you could find anybody willing to try at all).
    He might even produce and focus on errors you're not having.

    --------------

    Haven't had time to look at your script, but will give it a try later if I can find time (unless someone else solves it in the meantime).
    The script I linked to, and you said you tried, worked fine for me. You say it validates even erronous inputs, or probably doesn't validate them at all.
    Is that a problem you had only with that particular script, or do you have the same problem with all the scripts you've tried?
    S. Rosland

  11. #10
    Senior Member
    Join Date
    Sep 2003
    Location
    Sydney
    Posts
    114
    Member #
    3051
    Ok ok fair enough.

    That's the same problem with all of the scripts I've tried - it just doesn't take the security form into the equation.


Page 1 of 5 1 2 3 ... LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

mail letsgo lt

Click on a term to search for related topics.
All times are GMT -6. The time now is 05:15 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com