Jump to content

Form Spam Protection Idea - Will this work?


JKG

Recommended Posts

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...

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.