JKG Posted January 13, 2011 Share Posted January 13, 2011 Hey, Wondering if this would work, it is based on the idea that everyone who is a real visitor will be using a browser, is that correct? Do robots use browsers too? if so, it wont work! haha. <? $browser = mb_substr($_SERVER['HTTP_USER_AGENT'], 0, 31); if (!empty($browser)){echo '<form action="send.php" method="post">';} ?> Just thought it was nice and simple, and couldnt see anywhere if it would work or not... Quote Link to comment Share on other sites More sharing options...
lastkarrde Posted January 13, 2011 Share Posted January 13, 2011 No. Bots can easily fake user agents. Best to use a CAPTCHA. Quote Link to comment Share on other sites More sharing options...
JKG Posted January 13, 2011 Author Share Posted January 13, 2011 ah dammit! was just an idea... i suppose if it was that easy, it would have been done already. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.