All pastes #346914 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-02-09 14:05 UTC
rendered paste body
<?php
$to       = "chris.owen@gct.net"; 
$name     = $_POST['select'];
$house    = $_POST['house'];
$street  = $_POST['street'];
$post  = $_POST['post'];
$email  = $_POST['email'];
$town  = $_POST['town'];
$fname  = $_POST['fname'];
$bt  = $_POST['bt'];
$d        = date('l dS \of F Y h:i:s A');
$sub      = "GCT Website - Internet Order";
$headers  = "From: $email <$email>\n";  
$headers .= "Content-Type: text/plain; charset=iso-8859-1\n";
$mes     .= "Name: ".$name."\n";
$mes      = "Subject: ".$name."\n";
$mes     .= 'Email: '.$email."\n";
$mes     .= "Date & Time: .$d. "\n" .$fname. "\n" .$house. "\n" .$street. "\n" .$town. "\n" .$post. "\n" .$bt;

{
     mail($to, $sub, $mes, $headers);
     print "   <h3><center>Thank you, You have ordered ".$name." <br>We will get back to you as soon as posiable</center></h3>"; 
}
?>