I'm working on getting a form to mail setup using php, but i am having some trouble, any help would be nice. I'm not sure if the server has php set up wrong or what. I've never used php before, so im in the dark.
i keep getting this error:
Fatal error: Unable to open /u/web/acutec/educatetest2.php in Unknown on line 0
here is my code:
///////////////////////////////////////////////////////////////////////
<?
$msg = "Message:\t$detailsandcomments\n";
$msg .= "Name:\t$realname\n";
$msg .= "Address:\t$address\n\n";
$msg .= "Zipcode:\t$zipcode\n\n";
$msg .= "Telephone:\t$telephone\n\n";
$recipient = "DavidSka@aol.com";
$subjectnew = "input for education department";
$mailheaders = "From: WebMail Form\n";
$mailheaders .= "Reply-To: $email\n\n";
mail($recipient, $subjectnew, $msg, $mailheaders);
?>
<html>
<head>
<title>Mail Confirmation</title>
</head>
<body>
<h2>Message sent!</h2>
</body>
</html>
////////////////////////////////////////////////////////////////////////
(no those slashes are not acutally in my code)
thanks for your help
David