| 
	
 | 
 Posted by abixalmon on 02/05/06 17:12 
PAGE: Form.html 
 
<form action="form_email.php"> 
	<input type="text" name="__GIVE THE NAME__"> 
 
---------- Create forms for Name, Address, Email, Subject and  Contents 
----------- 
 
</form> 
 
---------------------------------------------------------------------- 
 
Page: form_email.php 
 
<?php 
 
$message="Hi, 
 
echo $_POST['message']; 
 
//echo all the form results here 
 
End of message 
 
"; 
$headers = "From: email@sender.com\n"; 
$headers .= "Reply-To: $name <$email>\n\n"; 
mail("to_email","Subject",$message,$headers); 
 
?>
 
  
Navigation:
[Reply to this message] 
 |