Captcha image verification

posted on June 24, 2006, 12:47 am
Comments
Hanshi posted on June 26, 2008, 12:18 am
When i test out the captcha.php file i get a page full of wierd weddings characters...but it does change everytime i refresh. Can someone help me out? thanks!
------------
Veselin: please send URL to your web page

shubhangi posted on June 20, 2008, 2:37 pm
how to upload file on web site

Al Teal posted on June 19, 2008, 4:07 pm
Getting this error:

Fatal error: Call to undefined function imagecreate() in /var/www/pmiapp/captcha.php on line 9
----------------
Veselin: this means that your PHP version does not support the GD functions used to generate image

Florian posted on June 18, 2008, 4:01 pm
i am using it for guestbook entries. It creates image, if not entering the number the message "Incorrect verification code" is shown, but adds entry anyway? Any ideas?
---------------------
Veselin: most probably the insert guestbook entry is not in the right place. It should be where you have this

// add form data processing code here
echo '<strong>Verification successful.</strong><br>';


Sandy posted on June 16, 2008, 5:56 pm
is there a chart of the different color codes for this? that i can look at ?
-----------
Veselin: these are RGB color code values

Sandy posted on June 16, 2008, 5:31 pm
How do we get the black background to blue?
Thanks
---------------
Veselin: change this
imagecolorallocate($image_p, 0, 0, 0);
to
imagecolorallocate($image_p, 70, 10, 220);

tom posted on June 12, 2008, 10:43 pm
For doing this CAPTCHA I would suggest using a session variable where you store the string generated and displayed on that dynamically generated image.

can you explain this instruction in detail? what is a session variable? store the string? where do i get the dynamically generated image? the referenced website (http://www.site.com/captcha.php) didn't work...

thank you!

Elaine posted on April 24, 2008, 2:41 pm
This code works great, but one thing i would like it to do if anyone can tell me how to do this, i would like the error message to display next to the verification box instead of at the top of the page , is that possible?
Thanks,
Elaine
-----------------
Veselin: you need to have your form on PHP based web page and the verification to be on top of it and then print the error message where your box is. For a small fee we can make your contact form on PHP page and also make the message display next to the captcha box. Email us if you are interested.

qleyo posted on April 18, 2008, 2:33 pm
works perfectly! thanks a lot!

Hugh Brecher posted on April 4, 2008, 11:31 am
I would like to use the Captcha.php validation script for one of my forms. The form is here:
http://www.****.com/info-form.html

How much will you charge to do this for me and send me the
completed revised form by email attachment?

I would like it to show up very much the way that THIS form does.

Thanks, Hugh
-------------------
can you send me a message that you receive when the form is submitted. It usually costs about $35 to add a captcha script and make the form on PHP page.
Veselin

Pages:   1   2   3   4   5   6   7   8   9   10   11   12   13   14   15   16   17   
   
If you have any additions, suggestions or modifications for this example please contact us or use the form below.
   
Your name:
Your email: (email address will not be posted on the web site)
Comment:
Verification