if($_POST['submit'])
{
$to = "recruiter66086@gmail.com";
$subject = "Peruvian Connection - Online Application: General Submission";
$from = "From: $_POST[email]";
$frstname = "$_POST[frstname]";
$lstname = "$_POST[lstname]";
$miname = "$_POST[miname]";
$email = "$_POST[email]";
$areacode = "$_POST[areacode]";
$phone1 = "$_POST[phone1]";
$phone2 = "$_POST[phone2]";
$daytime = "$_POST[daytime]";
$evening = "$_POST[evening]";
$cover = " $_POST[cover]";
$resume = "$_POST[resume]";
$body = "
First name:\n $frstname\n
Last name:\n $lstname\n
Middle initial:\n $miname\n
E-Mail:\n $email\n
Phone:\n ($areacode) $phone1 - $phone2\n
I prefer to be contacted during the day:\n $daytime\n
I prefer to be contacted during the evening: \n $evening\n
Please tell us why you're applying for this position:\n $cover\n
Resume:\n $resume\n
";
if (mail($to, $subject, $body, $from))
{
echo "Thank you for your interest in working with Peruvian Connection. Your application has been submitted. We will send a reply to this address: $_POST[email].
";
} }
else
?>
Not finding a position that suits you?
If you did not find a position that suits you in our list of open positions, but would like to submit your resume anyway, please do so here. No phone calls please.
{
echo "
Name:
Your Email Address:
Phone:
() - When do you prefer to be contacted? Daytime Evening
Please tell us why you’re applying for this position (limit 500 words).