Error in code? or crappy host?
Posted: Wed Feb 19, 2003 6:18 pm
ok ive got this SIMPLE mailing script, and i know this host processes php but im wondering if this script is messed up or if its the host that doesnt wana send it
<?php
$to = "my_adress@yahoo.ca" ;
if ($user=="")
{
print ("<font size='6'><center>Please specify a <u>Username.</center></u></font>");
}
else
{
mail($to,$user,$pass);
print ("<center><br><br>Thank you $user.Youre request should be processed within the next 24 hours");
}
?>
it just doesnt wana send it to my e-mail adress... i have tried at yahoo and hotmail still no luck... can anyone help? and if it is my host... anyone know a good free host that does process this?
<?php
$to = "my_adress@yahoo.ca" ;
if ($user=="")
{
print ("<font size='6'><center>Please specify a <u>Username.</center></u></font>");
}
else
{
mail($to,$user,$pass);
print ("<center><br><br>Thank you $user.Youre request should be processed within the next 24 hours");
}
?>
it just doesnt wana send it to my e-mail adress... i have tried at yahoo and hotmail still no luck... can anyone help? and if it is my host... anyone know a good free host that does process this?