All pastes #346925 Raw Edit

Miscellany

public php v1 · immutable
·published 2007-02-09 14:06 UTC
rendered paste body
<?php$to       = "*@*"; $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>"; }?>