Gary wrote on 2009-10-20 22:55:
I like that idea,so in other words they have to get to the form from another page on the site, and you set a time limit for a minimum amount of time they spend on the page(5-10 seconds)?
I don't set any time, just the session to prevent direct hits from a spam script. But if you wanna improve the solution using a time check you could save a microtime() value in the session and the test it against current time on the form page and the have a min. threshold that is accepted.
-- Kind regards Kim Emax - masterminds.dk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php