|
Posted by Jerry Stuckle on 11/10/06 13:39
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
>
>
Check out the header() function.
BTW - this is a simplified form of CAPTCHA. It might be good enough for
your purposes - but you might want to follow the other recommendations
here and look for a CAPTCHA solution.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|