Posted by ibizara on 01/24/08 11:20
@$email = addslashes($_POST['email']);
if (! ereg('^[*a-z\'0-9]+([._-][*a-z\'0-9]+)*@([a-z0-9]+([._-][a-
z0-9]+))+$', $email))
{
include_once("error.inc");
die();
}
---
I need to add a if contains the below then include_once("error.inc");
Spam = /.*@(hsbc|barclays|hotmail)\.com$/.test(Addr)
---
Many Thanks to any replys in advanced!
Regards,
Jason
[Back to original message]
|