"; extract($_GET,EXTR_SKIP); extract($_POST,EXTR_SKIP); if ($cid) { $mypat="^$cid\t"; $myline=`grep $mypat addresses | head -1`; if (strlen($myline)>1) { list($ident,$to_name,$to_email,)=split("\t",$myline); if ($action=="Send") { if (mail($to_email,$subj,$body,"Reply-to: $name <$email>\nFrom: $name <$email>".($bcc?"\nBcc: $email":""))) print "

Your email was successfully sent.

\n"; else print "

Your email could not be sent. Please try again later.

\n"; print "

Click here to return to the homepage.

\n"; } else { print "
  Email Contact Form  
  Name:  
  Email:  
  To: $to_name  
  Subject:  
 

Body:

 
Send me a copy    
"; } exit; } } print "
"; print "Select a contact: "; print ""; print ""; ?>