|
||||||||||||||
|
||||||||||||||
| Comments |
| John posted on January 7, 2007, 10:40 am |
| make the submit.php post the data to your current script... how would you do this? -------------------- Veselin Stoilov: using CURL for example |
| Scott posted on January 5, 2007, 9:32 am |
| I have installed the scripts as described and that works great. I need help passing on the form information to my "FormMail.cgi "after verification. What is the proper code to include in the "submit.php" file? -------------------- Veselin Stoilov: you should either make the submit.php file send the email or make the submit.php post the data to your current FormMail.cgi script. |
| Joness posted on January 3, 2007, 1:34 am |
| nice script |
| Vulli posted on December 17, 2006, 6:24 am |
| Hi, i got the script working, but when i change $font_size to 48, the font size remains the same?? I can change it to anything, it wont change! ----------------------- Veselin Stoilov: I think it is possible that the GD library that you have installed does not support font changes. |
| David posted on December 8, 2006, 11:11 am |
| Great script. Question though, wouldn't it be a good idea to generate a new CAPTCHA if the validation fails. As you recommend to "rocks" on 2006-09-01 12:48:35, the CAPTCHA would not change when the form is resubmitted. I suppose this is not a big problem, but how would you force the regeneration if the validation failed in this case. |
| Fairuz Sulaiman posted on December 7, 2006, 9:29 pm |
| Thanks for informations about image verification. It used in my page.Do you have any ideas to make more secure for mailing system --------------------------- Veselin Stoilov: the CAPTCHA image verification is one of the best protection methods. Depending on your needs we can also add JavaScript or php validation to your form. |
| DEP3 posted on November 12, 2006, 6:30 pm |
| Really nice little script. Thanks you very much... |
| sir k posted on November 4, 2006, 8:17 am |
| I encountered this error. PHP Fatal error: Call to undefined function: imagecreatetruecolor() in c:\inetpub\wwwroot\dnet forms\captcha.php on line 9 ------------------------------------- Veselin: this means that your PHP does not have the GD library installed |
| Mike de la Flor posted on October 24, 2006, 1:27 pm |
| Hello, I have the script working but I wanted it to go to my thank you page when successful. The post by Andrew asks the same question. The answer was ("Location: thankyou.html") but where do I put that? Can you please post the submit.php scritp with the Location: thankyou.html in the correct place? Thanks, Mike ------------------------------ Veselin: it should look like this <? session_start(); if ($_POST["vercode"] != $_SESSION["vercode"] OR $_SESSION["vercode"]=='') { echo '<strong>Incorrect verification code.</strong><br>'; } else { header("Location: thankyou.html"); }; ?> ------------------------------ Mike: THANK YOU! I am now attempting to combine the captcha scripts with the PHP contact form. I may need some help....let's see what happens. |
| Chris posted on October 14, 2006, 3:43 am |
| Nice script! Can you make it display letters as well in the random code? --------------------------------- PHPJabbers: you can define an array with symbols that you want to use and then select random array elements instead of using rand(10000,99999); |