View Single Post
  #2 (permalink)  
Old 06-06-09, 03:29 PM
Jcbones Jcbones is offline
Aspiring Coder
 
Join Date: Mar 2009
Location: North Carolina, USA
Posts: 516
Thanks: 5
Thanked 47 Times in 44 Posts
Look into honeypots they do work. Bots are blind to certain things.

one of them is 'styles'

Code:
<style type="text/css">
.check 
{
display:none;
}
</style>

<input class="check" type="text" name="email" value=""/>
PHP Code:

//script to validate honeypot
if($_POST['email'] != NULL)
{ echo 
'Your a spam bot, I will send no emails'}
else {
     
mail(myemails);

Reply With Quote