Reply to Re: how to verify the code?

Your name:

Reply:


Posted by ptdorf on 09/16/07 13:31

> But I don't know how to generate an text area for my visitors to input
> the code, and verify the value with the combination.
>
> Can anyone help me to finish the rest of the verification process?
> Thanks thanks thanks thanks a million.

You need an image to generate the Captcha random letters, store that
generated string in the $_SESSION super globals ($_SESSION['Captcha']
or something like this) and then, check the input from the form
against the $_SESSION.

The image with the random captcha text can be created with php built-
in function to manip images. Then on your form, you just need to add
the captcha image something like: <img src="captcha.php" /> and that
captcha.php file should generate the image and set the text in the
session.

At least, thats my way...

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация