Tuesday, August 3, 2010

function spammers mail if you have a web site that sends email there you go

function spammers mail if you have a web site that sends email there you go

soon making lavalair function so users dont get hit


Code:
function is_email_valid($email) { 
if(eregi("^([_a-z0-9-]+)(\.[_a-z0-9-]+)@([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $email)) return TRUE; 
else return FALSE; 
} 
?> 
 

No comments:

Post a Comment