All pastes #183251 Raw Edit

Anonymous

public text v1 · immutable
#183251 ·published 2006-09-26 19:00 UTC
rendered paste body
<?php

$today=date("Y-m-d");

@extract($_POST);

if (isset($ref1_email)) {mail($ref1_email,"Toyota Technological Institute at Chicago Faculty Applicant", "Hello,\r\n

This email is to inform you that $app_fname $app_lname has used your name as a reference as part of the faculty application process at Toyota Technological Institute at Chicago. We would appreciate if you would take the time to provide us with pertinent information regarding your relationship with $app_fname $app_lname and how it might relate to performance as a faculty member at the Toyota Technological Institute at Chicago.\r\n

Thank you,

Toyota Technological Institute at Chicago","From: Toyota Technological Institute at Chicago <recruiting@tti-c.org>");}

if (isset($ref2_email)) {mail($ref2_email,"Toyota Technological Institute at Chicago Faculty Applicant", "Hello,\r\n

This email is to inform you that $app_fname $app_lname has used your name as a reference as part of the faculty application process at Toyota Technological Institute at Chicago. We would appreciate if you would take the time to provide us with pertinent information regarding your relationship with $app_fname $app_lname and how it might relate to performance as a faculty member at the Toyota Technological Institute at Chicago.\r\n

Thank you,

Toyota Technological Institute at Chicago","From: Toyota Technological Institute at Chicago <recruiting@tti-c.org>");}

if (isset($ref3_email)) {mail($ref3_email,"Toyota Technological Institute at Chicago Faculty Applicant", "Hello,\r\n

This email is to inform you that $app_fname $app_lname has used your name as a reference as part of the faculty application process at Toyota Technological Institute at Chicago. We would appreciate if you would take the time to provide us with pertinent information regarding your relationship with $app_fname $app_lname and how it might relate to performance as a faculty member at the Toyota Technological Institute at Chicago.\r\n

Thank you,

Toyota Technological Institute at Chicago","From: Toyota Technological Institute at Chicago <recruiting@tti-c.org>");}

if (isset($ref4_email)) {mail($ref4_email,"Toyota Technological Institute at Chicago Faculty Applicant", "Hello,\r\n

This email is to inform you that $app_fname $app_lname has used your name as a reference as part of the faculty application process at Toyota Technological Institute at Chicago. We would appreciate if you would take the time to provide us with pertinent information regarding your relationship with $app_fname $app_lname and how it might relate to performance as a faculty member at the Toyota Technological Institute at Chicago.\r\n

Thank you,

Toyota Technological Institute at Chicago","From: Toyota Technological Institute at Chicago <recruiting@tti-c.org>");}

if (isset($ref5_email)) {mail($ref5_email,"Toyota Technological Institute at Chicago Faculty Applicant", "Hello,\r\n

This email is to inform you that $app_fname $app_lname has used your name as a reference as part of the faculty application process at Toyota Technological Institute at Chicago. We would appreciate if you would take the time to provide us with pertinent information regarding your relationship with $app_fname $app_lname and how it might relate to performance as a faculty member at the Toyota Technological Institute at Chicago.\r\n

Thank you,

Toyota Technological Institute at Chicago","From: Toyota Technological Institute at Chicago <recruiting@tti-c.org>");}

if (isset($re6_email)) {mail($ref6_email,"Toyota Technological Institute at Chicago Faculty Applicant", "Hello,\r\n

This email is to inform you that $app_fname $app_lname has used your name as a reference as part of the faculty application process at Toyota Technological Institute at Chicago. We would appreciate if you would take the time to provide us with pertinent information regarding your relationship with $app_fname $app_lname and how it might relate to performance as a faculty member at the Toyota Technological Institute at Chicago.\r\n

Thank you,

Toyota Technological Institute at Chicago","From: Toyota Technological Institute at Chicago <recruiting@tti-c.org>");}

if($vita)

{

(copy($vita,"/home/ttic/public_html/uploads/{$app_lname}_{$app_fname}_".time()."_{$vita_name}"));

}

else

{

echo('<font face="verdana" size=2><B>Unable to upload your vita</B></font>');

}

unlink($vita);



if($sop)

{

(copy($sop,"/home/ttic/public_html/uploads/{$app_lname}_{$app_fname}_".time()."_{$sop_name}"));

}

else

{

echo('<font face="verdana" size=2><B>Unable to upload your statement of purpose</B></font>');

}

unlink($sop);

@mail("dcoleman@tti-c.org","Faculty Application","$prefix\t$app_fname\t$app_lname\t$app_email\t$app_phd\t$yr_phd\t$current_pos\t$app_interest\t$ref1_fname\t$ref1_lname\t$ref1_position\t$ref1_email\t$ref2_fname\t$ref2_lname\t$ref2_position\t$ref2_email\t$ref3_fname\t$ref3_lname\t$ref3_position\t$ref3_email\t$ref4_fname\t$ref4_lname\t$ref4_position\t$ref4_email\t$ref5_fname\t$ref5_lname\t$ref5_position\t$ref5_email\t$ref6_fname\t$ref6_lname\t$ref6_position\t$ref6_email\t$vita_name\t$sop_name\t$today\t$desired_pos","From: Web Server Mail Daemon <webdaemon@tti-c.org>");

header("location:app_confirm.htm");

?>