Thread: [SOLVED] Contact form
View Single Post
  #3  
Old 07-13-2009, 05:29 PM
dylan
Guest
 
Posts: n/a
Default

thanks , But i must making new page like: error_masage.htm?
and i have this text in contact.php:header("Location: ./thankyou.htm"); from befor must delet this or?
Wher i must put it? :

<?
$your_email = "post@post.com";
$headers= "From: ".$_POST['name']." <".$_POST['email'].">\r\n";
$headers.='Content-type: text/html; charset=utf-8';
mail($your_email, $_POST['subject'], "
<html>
<head>
<title>Contact Message</title>
</head>
<body>
Kontaktskjema<br><br>
Navn : ".$_POST['name']."<br>
E-post : ".$_POST['email']."<br>
Telefon : ".$_POST['telephone']."<br><br>
Emne : ".$_POST['subject']."<br>
Henvendelse : <br>".$_POST['message']."<br>
</body>
</html>" , $headers);
header("Location: ./thankyou.htm");
?>


can you help me please?
thanx

Last edited by dylan; 07-13-2009 at 05:46 PM.