|
Here is the script...
FORM:
<form action="sendmail.php" method="post">
<p>Your Email:
<input name="email" type="text" id="email">
</p>
<p>First Name:
<input name="first_name" type="text" id="first_name">
</p>
<p>Last Name:
<input name="last_name" type="text" id="last_name">
</p>
<p>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
HERE IS MY SENDMAIL.PHP FILE...
<?
$email = $_REQUEST['email'] ;
$first_name = $_REQUEST['first_name'] ;
$last_name = $_REQUEST['last_name'] ;
mail( "caleb_5991@Yahoo.com", "Feedback Form Results",
$message, "From: $email" );
header( "Location: http://www.illustratedimagery.com/testsi... );
?>
---- I HAVE ALREADY VERIFIED WITH MY HOST THAT OUR SERVER SUPPORTS PHP. WHAT AM I DOING WRONG.
Thanks, really appreciated.
Hey... my PHP form will not work...?
Not too sure if there's a $_REQUEST syntax, but I know that there's a $_POST syntax.
$email = $_POST['email'] ;
$first_name = $_POST['first_name'] ;
|