$PositionApplying = filter_input(INPUT_POST, "PositionApplying", FILTER_SANITIZE_STRING);
$phone = filter_input(INPUT_POST, "phone", FILTER_SANITIZE_STRING);
$cell = filter_input(INPUT_POST, "cell", FILTER_SANITIZE_STRING);
$dob = filter_input(INPUT_POST, "dob", FILTER_SANITIZE_STRING);
$EmergencyContactName = filter_input(INPUT_POST, "EmergencyContactName", FILTER_SANITIZE_STRING);
$EmergencyContactPhone = filter_input(INPUT_POST, "EmergencyContactPhone", FILTER_SANITIZE_STRING);
$why_drive_taxi= filter_input(INPUT_POST, "why_drive_taxi", FILTER_SANITIZE_STRING);
$hobbies= filter_input(INPUT_POST, "hobbies", FILTER_SANITIZE_STRING);
$functions= filter_input(INPUT_POST, "functions", FILTER_SANITIZE_STRING);
$capable= filter_input(INPUT_POST, "capable", FILTER_SANITIZE_STRING);
$capablno= filter_input(INPUT_POST, "capabln", FILTER_SANITIZE_STRING);
$injured= filter_input(INPUT_POST, "injured", FILTER_SANITIZE_STRING);
$injured= filter_input(INPUT_POST, "injureyes", FILTER_SANITIZE_STRING);
$injurepdate= filter_input(INPUT_POST, "injurepdate", FILTER_SANITIZE_STRING);
$physical= filter_input(INPUT_POST, "physical", FILTER_SANITIZE_STRING);
$EmploymentName1= filter_input(INPUT_POST, "EmploymentName1", FILTER_SANITIZE_STRING);
$EmploymentPosition1= filter_input(INPUT_POST, "EmploymentPosition1", FILTER_SANITIZE_STRING);
$EmploymentDescription1= filter_input(INPUT_POST, "EmploymentDescription1", FILTER_SANITIZE_STRING);
$EmploymentReason1= filter_input(INPUT_POST, "EmploymentReason1", FILTER_SANITIZE_STRING);
$rehire1= filter_input(INPUT_POST, "rehire1", FILTER_SANITIZE_STRING);
$rehireawhy1= filter_input(INPUT_POST, "rehireawhy1", FILTER_SANITIZE_STRING);
$From1= filter_input(INPUT_POST, "From1", FILTER_SANITIZE_STRING);
$From1= filter_input(INPUT_POST, "To1", FILTER_SANITIZE_STRING);
$EmploymentName2= filter_input(INPUT_POST, "EmploymentName2", FILTER_SANITIZE_STRING);
$EmploymentPosition2= filter_input(INPUT_POST, "EmploymentPosition2", FILTER_SANITIZE_STRING);
$EmploymentDescription2= filter_input(INPUT_POST, "EmploymentDescription2", FILTER_SANITIZE_STRING);
$EmploymentReason2= filter_input(INPUT_POST, "EmploymentReason2", FILTER_SANITIZE_STRING);
$rehire2= filter_input(INPUT_POST, "rehire2", FILTER_SANITIZE_STRING);
$rehireawhy2= filter_input(INPUT_POST, "rehireawhy2", FILTER_SANITIZE_STRING);
$From2= filter_input(INPUT_POST, "From2", FILTER_SANITIZE_STRING);
$To2= filter_input(INPUT_POST, "To2", FILTER_SANITIZE_STRING);
$EmploymentName3= filter_input(INPUT_POST, "EmploymentName3", FILTER_SANITIZE_STRING);
$EmploymentPosition3= filter_input(INPUT_POST, "EmploymentPosition3", FILTER_SANITIZE_STRING);
$EmploymentDescription3= filter_input(INPUT_POST, "EmploymentDescription3", FILTER_SANITIZE_STRING);
$EmploymentReason3= filter_input(INPUT_POST, "EmploymentReason3", FILTER_SANITIZE_STRING);
$rehire3= filter_input(INPUT_POST, "rehire3", FILTER_SANITIZE_STRING);
$rehireawhy3= filter_input(INPUT_POST, "rehireawhy3", FILTER_SANITIZE_STRING);
$From3= filter_input(INPUT_POST, "From3", FILTER_SANITIZE_STRING);
$To3= filter_input(INPUT_POST, "To3", FILTER_SANITIZE_STRING);
$served= filter_input(INPUT_POST, "served", FILTER_SANITIZE_STRING);
$Branch= filter_input(INPUT_POST, "Branch", FILTER_SANITIZE_STRING);
$DDischarge= filter_input(INPUT_POST, "DDischarge", FILTER_SANITIZE_STRING);
$reserves= filter_input(INPUT_POST, "reserves", FILTER_SANITIZE_STRING);
$referencesname1= filter_input(INPUT_POST, "referencesname1", FILTER_SANITIZE_STRING);
$referencesAddress1= filter_input(INPUT_POST, "referencesAddress1", FILTER_SANITIZE_STRING);
$referencesTelephone1= filter_input(INPUT_POST, "referencesTelephone1", FILTER_SANITIZE_STRING);
$referencesEmail1= filter_input(INPUT_POST, "referencesEmail1", FILTER_SANITIZE_STRING);
$callreferences1= filter_input(INPUT_POST, "callreferences1", FILTER_SANITIZE_STRING);
$referencesname2= filter_input(INPUT_POST, "referencesname2", FILTER_SANITIZE_STRING);
$referencesAddress2= filter_input(INPUT_POST, "referencesAddress2", FILTER_SANITIZE_STRING);
$referencesTelephone2= filter_input(INPUT_POST, "referencesTelephone2", FILTER_SANITIZE_STRING);
$referencesEmail2= filter_input(INPUT_POST, "referencesEmail2", FILTER_SANITIZE_STRING);
$callreferences2= filter_input(INPUT_POST, "callreferences2", FILTER_SANITIZE_STRING);
$employed= filter_input(INPUT_POST, "employed", FILTER_SANITIZE_STRING);
$prate= filter_input(INPUT_POST, "prate", FILTER_SANITIZE_STRING);
$learnabout= filter_input(INPUT_POST, "learnabout", FILTER_SANITIZE_STRING);
$employed= filter_input(INPUT_POST, "employed", FILTER_SANITIZE_STRING);
$driver= filter_input(INPUT_POST, "driver", FILTER_SANITIZE_STRING);
$driverrefername= filter_input(INPUT_POST, "driverrefername", FILTER_SANITIZE_STRING);
$GradeSchool= filter_input(INPUT_POST, "GradeSchool", FILTER_SANITIZE_STRING);
$HighSchool= filter_input(INPUT_POST, "HighSchool", FILTER_SANITIZE_STRING);
$College= filter_input(INPUT_POST, "College", FILTER_SANITIZE_STRING);
$lastschool= filter_input(INPUT_POST, "lastschool", FILTER_SANITIZE_STRING);
$DLNUM= filter_input(INPUT_POST, "DLNUM", FILTER_SANITIZE_STRING);
$DLEXP= filter_input(INPUT_POST, "DLEXP", FILTER_SANITIZE_STRING);
$CDLYN= filter_input(INPUT_POST, "CDLYN", FILTER_SANITIZE_STRING);
$CDLEXP= filter_input(INPUT_POST, "CDLEXP", FILTER_SANITIZE_STRING);
$denied= filter_input(INPUT_POST, "denied", FILTER_SANITIZE_STRING);
$deniedex= filter_input(INPUT_POST, "deniedex", FILTER_SANITIZE_STRING);
$revoked= filter_input(INPUT_POST, "revoked", FILTER_SANITIZE_STRING);
$revokedWW= filter_input(INPUT_POST, "revokedWW", FILTER_SANITIZE_STRING);
$crime = filter_input(INPUT_POST, "crime", FILTER_SANITIZE_STRING);
$crimeex = filter_input(INPUT_POST, "crimeex", FILTER_SANITIZE_STRING);
$drug = filter_input(INPUT_POST, "drug", FILTER_SANITIZE_STRING);
$drugW = filter_input(INPUT_POST, "drugW", FILTER_SANITIZE_STRING);
$vehiclesTaxi = filter_input(INPUT_POST, "vehiclesTaxi", FILTER_SANITIZE_STRING);
$taxi_miles = filter_input(INPUT_POST, "taxi_miles", FILTER_SANITIZE_STRING);
$vehiclesVan = filter_input(INPUT_POST, "vehiclesVan", FILTER_SANITIZE_STRING);
$Van_miles = filter_input(INPUT_POST, "Van_miles", FILTER_SANITIZE_STRING);
$vehiclestruck = filter_input(INPUT_POST, "vehiclestruck", FILTER_SANITIZE_STRING);
$truck_miles = filter_input(INPUT_POST, "truck_miles", FILTER_SANITIZE_STRING);
$vehiclesBus = filter_input(INPUT_POST, "vehiclesBus", FILTER_SANITIZE_STRING);
$Bus_miles = filter_input(INPUT_POST, "Bus_miles", FILTER_SANITIZE_STRING);
$vehiclesSemi = filter_input(INPUT_POST, "vehiclesSemi", FILTER_SANITIZE_STRING);
$Semi_miles = filter_input(INPUT_POST, "Semi_miles", FILTER_SANITIZE_STRING);
$experiemcestates = filter_input(INPUT_POST, "experiemcestates", FILTER_SANITIZE_STRING);
$Positio1Typing = filter_input(INPUT_POST, "Positio1Typing", FILTER_SANITIZE_STRING);
$Positio2Billing = filter_input(INPUT_POST, "Positio2Billing", FILTER_SANITIZE_STRING);
$Positio3DataEntry = filter_input(INPUT_POST, "Positio3DataEntry", FILTER_SANITIZE_STRING);
$Positio4Calculator = filter_input(INPUT_POST, "Positio4Calculator", FILTER_SANITIZE_STRING);
$Positio5Cashier= filter_input(INPUT_POST, "Positio5Cashier", FILTER_SANITIZE_STRING);
$Positio6Dispatch= filter_input(INPUT_POST, "Positio6Dispatch", FILTER_SANITIZE_STRING);
$Positio7Accounting= filter_input(INPUT_POST, "Positio7Accounting", FILTER_SANITIZE_STRING);
$Positio8Mechanic= filter_input(INPUT_POST, "Positio8Mechanic", FILTER_SANITIZE_STRING);
$Positio9Other= filter_input(INPUT_POST, "Positio9Other", FILTER_SANITIZE_STRING);
$certify= filter_input(INPUT_POST, "certify", FILTER_SANITIZE_STRING);
$signame= filter_input(INPUT_POST, "signame", FILTER_SANITIZE_STRING);
$sigdate= filter_input(INPUT_POST, "sigdate", FILTER_SANITIZE_STRING);
$Name = filter_input(INPUT_POST, "Name", FILTER_SANITIZE_STRING);
$Address = filter_input(INPUT_POST, "Address", FILTER_SANITIZE_STRING);
$City = filter_input(INPUT_POST, "City", FILTER_SANITIZE_STRING);
$State = filter_input(INPUT_POST, "State", FILTER_SANITIZE_STRING);
$Zip = filter_input(INPUT_POST, "Zip", FILTER_SANITIZE_STRING);
$mt_email = filter_input(INPUT_POST, "mt_email", FILTER_SANITIZE_STRING);
$phone = filter_input(INPUT_POST, "phone", FILTER_SANITIZE_STRING);
$cell = filter_input(INPUT_POST, "cell", FILTER_SANITIZE_STRING);
$dob = filter_input(INPUT_POST, "dob", FILTER_SANITIZE_STRING);
$signame = filter_input(INPUT_POST, "signame", FILTER_SANITIZE_STRING);
$sigdate = filter_input(INPUT_POST, "sigdate", FILTER_SANITIZE_STRING);
$certify = filter_input(INPUT_POST, "certify", FILTER_SANITIZE_STRING);
$Code= filter_input(INPUT_POST, "Code", FILTER_SANITIZE_STRING);
$IP = $_SERVER['REMOTE_ADDR'];
$today = date("Y-m-d H:i:s");
$todar = date("Y-m-d");
//$experiemcestates = implode(', ', (array)$experiemcestates);
$experiemcestates = implode(', ', (array)$_POST['experiemcestates']);
if(isset($_POST['mt_email'])) {
# $email_to = "mt.employment@madtaxi.com";
$email_to = "webmaster@oldcabin.net";
$femail= "noreply@madtaxi.com";
$email_subject = "Employment Application";
function died($error) {
echo "
We are very sorry, but there were error(s) found with the form you submitted “;
echo “
“;
echo “
Please go back and correct these errors: “;
echo “
“;
}
function clean_string($string) {
$bad = array(“content-type”,”bcc:”,”to:”,”cc:”,”href”);
return str_replace($bad,””,$string);
}
// validation expected data exists
if(!isset($Name) ||
!isset($_POST[‘mt_email’]))
{
died(‘We are sorry, but there appears to be a problem with the form you submitted.’);
}
$contact_url = “https://www.madtaxi.com/application-9876435/”;
$realip = $_SERVER[‘REMOTE_ADDR’];
$iprefer = $_SERVER[‘HTTP_REFERER’];
$error_message = “”;
$code2 = “28Xp53b”;
if ($Code !== $code2) {
$error_message .= ‘
You must enter the security code or the Code is incorrect: You entered ‘ . $Code . ‘ . The correct code is ‘. $code2 .’ and the code is CASE Sensitive ‘;
}
$string_exp = “/^[A-Za-z .’-]+$/”;
if ($iprefer !== $contact_url) {
$error_message .= ‘
You are trying to call this form from an unauthorized URL. How come? ‘;
}
$string_exp = “/^[A-Za-z .’-]+$/”;
if(!preg_match($string_exp,$Name)) {
$error_message .= ‘
The Name you entered does not appear to be valid. ‘;
}
//do nothing for phone as not required
$email_exp = ‘/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/’;
if(!preg_match($email_exp,$mt_email)) {
$error_message .= ‘
The email address you entered does not appear to be valid. ‘;
}
if(strlen($error_message) > 0) {
died($error_message);
}else{
echo “
Thank you for your inquiry “;
echo “
“;
echo “We will be in touch with you very soon.
“;
echo “
“;
$email_message .= ‘
AFFILIATED CARRIAGE SYSTEMS INC
DBA Madison Taxi
Employment Application
In compliance with federal and state equal employment opportunity laws, qualified applicants are considered for all positions, without regard to race, color, religion, sex, national origin, age, marital status, or the presence of a non-job related medical condition or handicap.
Affiliated Carriage Systems Inc., is in compliance with U.S. Department of Transportation, Urban Mass Transportation Administration regulation 49 CFR Part 653 (“Control of Drug Use in Mass Transportation Operations”). Under Subpart B (“Drug Testing”) of this regulation, Article 653 (“Pre-employment testing”) reads, in part:
"An individual may not be hired to perform a sensitive safety function unless the individual passes a drug test administered under this section …. A preemployment drug test required by this section may be administered only after the person to be tested is informed that the urine sample being collected will be tested for evidence of (1) marijuana; (2) cocaine; (3) opiates; (4) phencyclidine (PCP), and (5) amphetamines"
Position Applying for: ‘.$PositionApplying.’ Date: ‘.$sigdate.’
Name: ‘.$Name.’
Address: ‘.$Address.’
City: ‘.$City.’
State: ‘.$State.’
Zip: ‘.$Zip.’
SS #: ‘.$mt_ss.’
E-mail: ‘.$mt_email.’
Phone: ‘.$phone.’
Phone 2: ‘.$cell.’
Date of Birth: ‘.$dob.’
Emergency Contact
Name: ‘.$EmergencyContactName.’
Phone Number: ‘.$EmergencyContactPhone.’
Please explain why you want to drive a taxi? ‘.$why_drive_taxi .’
Tell us about yourself (hobbies, etc.) ‘.$hobbies.’
Physical History
Can you perform the necessary functions for the job? ‘.$functions.’
Are you capable of lifting 50 to 70 pounds? ‘.$capable.’
If No, why? ‘.$capabln.’
Have you ever been injured on the job? ‘.$injured.’
If yes, please describe injuries ‘.$injureyes.’
How long ago did the injury occur? ‘.$injurepdate.’
Would you be willing to take a physical exam? ‘.$physical.’
Employment History
(Most recent Job First)
Employer: ‘.$EmploymentName1.’
Position Held: ‘.$EmploymentPosition1.’
Job Description: ‘.$EmploymentDescription1.’
Reason for Leaving: ‘.$EmploymentReason1.’
Would this Employer rehire you? ‘.$rehire1.’
If No, why? ‘.$rehireawhy1.’
From: ‘.$From1.’ To: ‘.$To1.’
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – — – – – – – – – – – –
Employer: ‘.$EmploymentName2.’
Position Held: ‘.$EmploymentPosition2.’
Job Description: ‘.$EmploymentDescription2.’
Reason for Leaving: ‘.$EmploymentReason2 .’
Would this Employer rehire you? ‘.$rehire2.’
If No, why? ‘.$rehireawhy2.’
From: ‘.$From2.’ To: ‘.$To2.’
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – — – – – – – – – – – –
Employer: ‘.$EmploymentName3.’
Position Held: ‘.$EmploymentPosition3.’
Job Description: ‘.$EmploymentDescription3.’
Reason for Leaving: ‘.$EmploymentReason3.’
Would this Employer rehire you? ‘.$rehire3.’
If No, why? ‘.$rehireawhy3.’
From: ‘.$From3.’ To: ‘.$To3.’
Military Status
Served in the U.S. Armed Forces: ‘.$served.’
What Branch? ‘.$Branch.’
Discharge Date: ‘.$DDischarge.’
Presently in the Reserves? ‘.$reserves.’
References
Please list 2 references other than employer and/or relatives.
Reference 1
Name: ‘.$referencesname1.’
Address: ‘.$referencesAddress1.’
Telephone: ‘.$referencesTelephone1.’
Email: ‘.$referencesEmail1.’
May we call or email this reference? ‘.$callreferences1.’
Reference 1
Name: ‘.$referencesname2.’
Address: ‘.$referencesAddress2.’
Telephone: ‘.$referencesTelephone2.’
Email: ‘.$referencesEmail2.’
May we call or email this reference? ‘.$callreferences2.’
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – — – – – – – – – – – –
Are you employed now? ‘.$employed.’
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – — – – – – – – – – – –
Rate of pay expected? ‘.$prate.’
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – — – – – – – – – – – –
How did you learn about Madison Taxi? ‘.$learnabout.’
Did one of our drivers refer you? ‘.$driver.’
What driver: ‘.$driverrefername.’
Education
What is the highest grade completed?
Grade School ‘.$GradeSchool.’
High School ‘.$HighSchool.’
College ‘.$College.’
Name of the last school you graduated from and/or attended: ‘.$lastschool.’
Driving History
Driver\’s Lic. #: ‘.$DLNUM.’
Exp. Date: ‘.$DLEXP.’
– – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – – — – – – – – – – – – –
Have a CDL: ‘.$CDLYN.’
Date of Expiration: ‘.$CDLEXP.’
Denied a license permit or privilege to operate a motor vehicle: ‘.$denied.’
If Yes, explain: ‘.$deniedex.’
Revoked or Suspended: ‘.$revoked.’
When/Why ‘.$revokedWW.’
Convicted of a crime that the circumstances would relate to operating a taxi: ‘.$crime.’
Yes: ‘.$crimeex.’
Submit to a drug test for consideration of employment : ‘.$drug.’
Why not: ‘.$drugW.’
Driving Data
Please select the types of vehicles you have driven and enter the approx. miles of experience in that type of vehicle:
‘.$vehiclesTaxi.’ # Miles ‘.$taxi_miles.’
‘.$vehiclesVan.’ # Miles ‘.$Van_miles.’
‘.$vehiclestruck.’ # Miles ‘.$truck_miles.’
‘.$vehiclesBus.’ # Miles ‘.$Bus_miles.’
‘.$vehiclesSemi.’ # Miles ‘.$Semi_miles.’
States operated in: ‘.$experiemcestates.’
Office or Dispatch
For Office or Dispatch Positions please select your experience in the following areas.
Typing ‘.$Positio1Typing.’
Billing ‘.$Positio2Billing.’
Data Entry ‘.$Positio3DataEntry.’
Calculator ‘.$Positio4Calculator.’
Cashier ‘.$Positio5Cashier.’
Dispatch ‘.$Positio6Dispatch.’
Accounting ‘.$Positio7Accounting.’
Mechanic ‘.$Positio8Mechanic.’
Other ‘.$Positio9Other.’
Applicant\’s E Signature: ‘.$signame .’
Signing Date: ‘.$sigdate.’
Certification: ‘.$certify.’
‘;
$email_message .= ‘
Office Use: Form 6102-MT-EMP:
□ □ □ □ □
IP Address submitted from: ‘.$_SERVER[‘REMOTE_ADDR’].’
________________________________________________________________________________________________________________
________________________________________________________________________________________________________________
________________________________________________________________________________________________________________