You are here: Re: In email form how do we say "must be equal to X"? « All PHP « IT news, forums, messages
Re: In email form how do we say "must be equal to X"?

Posted by Erwin Moller on 11/10/06 13:02

Matthew Wilson wrote:

> Hi, we are getting a lot of spam through our PHP Feedback form, and have
> set up a new field 'prove you're human', asking them to do some simple
> maths.
>
> What is the command for the PHP script itself, to say "this field must be
> equal to 9 or return the error page"?
>
> Thanks!
>
> Matt

Hi Matt,

Go to Wikipedia or something like that and search for an approach named
captcha.
It boils down to the fact that a simple Turingtest (with distored images) is
used to make sure the user is human and not a (simple) bot.
Don't buy a solution, many free captcha alternatives are out there. :-)

Regards,
Erwin Moller

 

Navigation:

[Reply to this 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

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