Thanks, Andrew. I made some changes but it is still kinda whacked out...and displays my ISP's PHP configuration stuff on the page at the end.
Actually, the email is NOT supposed to go to a webpage, but FROM the 'reply-to' person's address TO 'my' email address...so I'm thinking the 2nd page now is unnecessary?
Here's where I am at:
<?php
?>
<html>
<head>
<title>E-mail Form</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<FORM method="POST" action = "http://mydomainURL - the page2 file">
SIMPLE E-MAIL FORM:<br><br>
Name:<br> <input name="name" type="text" size="50"><br>
E-mail:<br> <input name="email" type="text" size="50"><br>
Reply-To Email Address:<br><INPUT name"replyto" type="text" size="50"><br>
Subject:<br> <input name="subject" type="text" size="50"><br>
Message:<br> <textarea name="message" cols="50" rows="10" type="text"></textarea><br><br>
<input name="submit" type="submit" value="Send Mail">
</FORM>
</body>
</html>
<?php
?
<?php
$email = $_POST["email"];
$name = $_POST["name"];
$replyto = $_POST["replyto"];
$subject = $_POST["subject"];
$message1 = $_POST["message"];
$message = "Test message here====<br>";
echo "From: "."$name<br>";
echo "E-Mail: "."$email<br>";
echo "----------------------------<br>";
echo "<br> ";
echo $message1;
$messageHeader = NULL;
$messageHeader . "From: $email" . "Reply-To: $email" . "X-Mailer: PHP/" . phpinfo();
// send email
mail ($email,$subject,$message,$messageHeader);
?>
<html>
<head>
<title></title>
</head>
<body>
<META HTTP-EQUIV="refresh" CONTENT="15 (AMOUNT OF SECONDS UNTIL FOWARD; URL="mydomainURLhere">
</body>
</html>
<?php
?>
In any event, it is still not formatting correctly. Umh, couldn't the basic form & emailing part be combined into just one page?
Thanks.