Afficher un message
Vieux 16/09/2007, 14h59   #3
nightcats@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to verify the code?

On 9 16 , 9 31 , ptd...@gmail.com wrote:
> > 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 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...


thanks for replying.

well......I really don't need to go that far. I think for now a random
text is enough.

Now I can make my webpage generates a random combination. All I need
next is to creat a text area to compare with the randon code
generated, as what I said in my first article.

Can anybody me with the rest part of the verifying process?
thanks.


  Réponse avec citation
 
Page generated in 0,04594 seconds with 9 queries