Posted by Sander on 09/20/05 08:51
"KJO" <ihatespam@thanks.com> schreef in bericht
news:96D6C05DDkarlcsueduco@216.196.97.136...
> So basically anything@aol.com should result in $message = "aol users
> please
> go to: link"
Hi,
Check out http://nl3.php.net/manual/nl/function.strstr.php.
You can make something like:
if ($Name <= "")
$message = "<font color="red"><b>Please enter your name.</b></font>";
else if ($Email <= "")
$message = "<font color="red">Please enter your email address.</b></font>";
elseif(strstr ($email, '@aol.com');
{
$message = "<font color="red">Aol.com sender should give more information.
Visit link etc etc</b></font>";
}
Good luck
Navigation:
[Reply to this message]
|