Reply to Re: In email form how do we say "must be equal to X"?

Your name:

Reply:


Posted by J.O. Aho on 11/10/06 19:10

Matthew Wilson wrote:
> "J.O. Aho" <user@example.net> wrote in message
> news:4rjiogFrvinbU1@mid.individual.net...
>
>> Just add another input of text type (you can name it what ever you want,
>> say fun), you random two values and make another input of hidden type (you
>> can call it what ever you want, but not the same as the previous, say
>> real), then on the script where you receive the form you compare the two
>> values
>
> That's great but a little complex for our needs. The actual capture form is
> HTML, only the receive script is PHP. Can you offer a simpler version which
> just expects the number "5" rather than random numbers?
>
> Here is the format we follow, and the relevant field that expects a 5 is
> "human":

The drawback with using a fixed value is that the spammer can adjust his
script to enter the value 5, so they would have a bit more work if the value
is random the best is really to store things in a session, show a disorted
image and ask what it says on it and compare the values from the session and
from the form.

//Aho

[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

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