Hey i have this problem with AOL, so i desided to block people with aol.com email addresses, but i cant quite get it to work, this is what i have.
<?php
$email_address = "maller@aol.com";
function isaol($email_address)
{
if (strpos("aol.com", $email_address))
return true;
else
return false;
}
if(isaol($email_address))
{
echo "Sorry but AOL has been blocked from our servers";
exit();
}
?>
the problem is that i dosent see that the email is a @aol address, can some one help me out ?