i’m having truble with this tutorial! i don’t know if i have done it right i mean ive done the whole tutorial start to finish, but when i uploaded the files to the server…it wont work!!!
how do i check, ive already put in my htdocs folder of my apache sever and it works but not on the webserver?
<?
here’s the code as in the tutorial"
$Subject = “Test E-mail”;
$toEmail = "beto_pr83@hotmail.com";
if(submit)
{
mail($fromEmail, $Subject, $nMessage."
From: “.$fromName.”<".$fromEmail.">");
}
?>
<html>
<head>
<title>Mail Tutorial</title>
</head>
<body bgcolor="#FFFFFF">
<form method=“post” action="<? echo($PHP_SELF) ?>">
Your E-mail:
<input type=“text” name=“fromEmail” size=“25”>
Your Name: <input type=“text” name=“fromName” size=“25”>
Your Message:
<textarea cols=“50” rows=“5” name=“nMessage”>Your Message Here…