Sorsfort Internation School|Montessori School Electronic City Bangalore. Malicious code content detected.
Your IP Number of ".getenv("REMOTE_ADDR")." has been logged.

"; /******** END OF CONFIG SECTION *******/ $name = $_POST['name']; $dob = $_POST['dob']; $mobile = $_POST['mobile']; $email = $_POST['email']; $paf = $_POST['paf']; $g_date = $_POST['g_date']; $skill = $_POST['skill']; $salary = $_POST['salary']; $salary_proof = $_POST['salary_proof']; $notice = $_POST['notice']; $reason = $_POST['reason']; $boss = $_POST['boss']; $month = $_POST['month']; $ex_salary = $_POST['ex_salary']; //$married = if(isset($_POST['married']) && ($_POST['married'])=="Married") $married = "Yes"; else if(isset($_POST['married']) && ($_POST['married'])=="Unmarried") $married = "No"; $spouse = $_POST['spouse']; $experience = $_POST['experience']; $address1 = $_POST['address1']; $address2 = $_POST['address2']; $status = $_POST['status']; $staying = $_POST['staying']; $details = $_POST['details']; $message = $_POST['msg']; $date = $_POST['date']; $file = $_POST['file']; $client_ip=$_SERVER['REMOTE_ADDR']; move_uploaded_file($_FILES["file"]["tmp_name"], "resume/" . $_FILES["file"]["name"]); $headers = "From: $email\n"; $headers .= 'Bcc: stars@StarsLearn.com' . "\r\n"; $headers .= "MIME-Version: 1.0\n" . "Content-Transfer-Encoding: 7bit\n" . "Content-type: text/html; charset = \"iso-8859-1\";\n\n"; if ($SpamCheck == "Y") { // Check for Website URL's in the form input boxes as if we block website URLs from the form, // then this will stop the spammers wastignt ime sending emails if (preg_match("/http/i", "$name")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$dob")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$mobile")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$email")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$paf")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$g_date")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$skill")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$salary")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$salary_proof")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$notice")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$reason")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$boss")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$month")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$ex_salary")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$married")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$spouse")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$experience")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$address1")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$address2")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$status")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$staying")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$details")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$message")) {echo "$SpamErrorMessage"; exit();} if (preg_match("/http/i", "$date")) {echo "$SpamErrorMessage"; exit();} // Patterm match search to strip out the invalid charcaters, this prevents the mail injection spammer $pattern = '/(;|\||`|>|<|&|^|"|'."\n|\r|'".'|{|}|[|]|\)|\()/i'; // build the pattern match string $name = preg_replace($pattern, "", $name); $dob = preg_replace($pattern, "", $dob); $mobile = preg_replace($pattern, "", $mobile); $email = preg_replace($pattern, "", $email); $paf = preg_replace($pattern, "", $paf); $g_date = preg_replace($pattern, "", $g_date); $skill = preg_replace($pattern, "", $skill); $salary = preg_replace($pattern, "", $salary); $salary_proof = preg_replace($pattern, "", $salary_proof); $notice = preg_replace($pattern, "", $notice); $reason = preg_replace($pattern, "", $reason); $boss = preg_replace($pattern, "", $boss); $month = preg_replace($pattern, "", $month); $ex_salary = preg_replace($pattern, "", $ex_salary); $married = preg_replace($pattern, "", $married); $spouse = preg_replace($pattern, "", $spouse); $experience = preg_replace($pattern, "", $experience); $address1 = preg_replace($pattern, "", $address1); $address2 = preg_replace($pattern, "", $address2); $status = preg_replace($pattern, "", $status); $staying = preg_replace($pattern, "", $staying); $details = preg_replace($pattern, "", $details); $message = preg_replace($pattern, "", $message); $date = preg_replace($pattern, "", $date); // Check for the injected headers from the spammer attempt // This will replace the injection attempt text with the string you have set in the above config section $find = array("/bcc\:/i","/Content\-Type\:/i","/cc\:/i","/to\:/i"); $name = preg_replace($find, "$SpamReplaceText", $name); $dob = preg_replace($find, "$SpamReplaceText", $dob); $mobile = preg_replace($find, "$SpamReplaceText", $mobile); $email = preg_replace($find, "$SpamReplaceText", $email); $paf = preg_replace($find, "$SpamReplaceText", $paf); $g_date = preg_replace($find, "$SpamReplaceText", $g_date); $skill = preg_replace($find, "$SpamReplaceText", $skill); $salary = preg_replace($find, "$SpamReplaceText", $salary); $salary_proof = preg_replace($find, "$SpamReplaceText", $salary_proof); $notice = preg_replace($find, "$SpamReplaceText", $notice); $reason = preg_replace($find, "$SpamReplaceText", $reason); $boss = preg_replace($find, "$SpamReplaceText", $boss); $month = preg_replace($find, "$SpamReplaceText", $month); $ex_salary = preg_replace($find, "$SpamReplaceText", $ex_salary); $married = preg_replace($find, "$SpamReplaceText", $married); $spouse = preg_replace($find, "$SpamReplaceText", $spouse); $experience = preg_replace($find, "$SpamReplaceText", $experience); $address1 = preg_replace($find, "$SpamReplaceText", $address1); $address2 = preg_replace($find, "$SpamReplaceText", $address2); $status = preg_replace($find, "$SpamReplaceText", $status); $staying = preg_replace($find, "$SpamReplaceText", $staying); $details = preg_replace($find, "$SpamReplaceText", $details); $message = preg_replace($find, "$SpamReplaceText", $message); $date = preg_replace($find, "$SpamReplaceText", $date); // Check to see if the fields contain any content we want to ban if(stristr($name, $SpamReplaceText) !== FALSE) {echo "$SpamErrorMessage"; exit();} if(stristr($mobile, $SpamReplaceText) !== FALSE) {echo "$SpamErrorMessage"; exit();} // Do a check on the send email and subject text if(stristr($sendto, $SpamReplaceText) !== FALSE) {echo "$SpamErrorMessage"; exit();} if(stristr($subject, $SpamReplaceText) !== FALSE) {echo "$SpamErrorMessage"; exit();} } // Build the email body text //mail testing $file1=$_FILES['file']['name']; $to = $email; $subject = "Job Application For $paf"; $base = basename($file1); $file = fopen('resume/'.$file1,'rb'); $size = filesize('resume/'.$file1); $data = fread($file,$size); fclose($file); $data = chunk_split(base64_encode($data)); $emailcontent=" Dear $name,
Thank You for Applying at Sorsfort.
Kindly Find the Details Which You have Submitted to us:

EMPLOYMENT APPLICATION DETAILS FOR SORSFORT

"; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.=""; $emailcontent.="
Description Value
Name ".$name."
DOB ".$dob."
Mobile ".$mobile ."
Email ".$email."
Position Applied For ".$paf."
Graduation Date ".$g_date."
Last Exact Monthly Salary Withdrawn ".$salary."
Proof of salary ".$salary_proof."
Notice Period / Availability Date ".$notice."
Reason to Leave current job ".$reason ."
Current Boss Name, Mobile & eMail ID ".$boss."
Total Months worked in Last company ".$month."
Expected Salary (Net in Hand) ".$ex_salary."
Married (Yes/No) ".$married."
Total Years of Experience ".$experience."
Permanent Address (Parents) ".$address1."
Current Address ".$address2."
Current Address is Owned/Owned ".$status."
Expected Salary (Net in Hand) ".$ex_salary."
Staying with ".$staying."
Any Other Details... ".$details."
Message ".$message."
"; $emailcontent.="Regards
Sorsfort Team
Land Line : 080 6564 9999
eMail : HR@Sorsfort.com
website : www.SORSFORT.com
Facebook : www.Facebook.com
Google Map : http://goo.gl/tBHtv6
"; $emailcontent.=""; //print_r($emailcontent); //boundary $div = "==Multipart_Boundary_x".md5(time())."x"; //headers $head = "From: HR@Sorsfort.com\n". "CC: Stars@StarsLearn.com\r\n"."MIME-Version: 1.0\n". "Content-Type: multipart/mixed;\n". " boundary=\"$div\""; //message $mess = "--$div\n". "Content-Type: text/html; charset=\"iso-8859-1\"\n". "Content-Transfer-Encoding: 7bit\n\n". "$emailcontent\n\n". "--$div\n". "Content-Type: application/octet-stream; name=\"$base\"\n". "Content-Description: $base\n". "Content-Disposition: attachment;\n". " filename=\"$base\"; size=$size;\n". "Content-Transfer-Encoding: base64\n\n". "$data\n\n". "--$div\n"; $return = "-f$email"; $mail_result=mail($to,$subject,$mess,$head,$return); if($mail_result) { unlink('resume/'.$file1); } //mail testing // Sends out the email or will output the error message //elseif (mail($sendto, $subject, $emailcontent, $headers) && mail($email, $consumersubject, $consumeremailcontent, $consumerheaders)) { // echo "

Thank You $name

We will Keep in touch With You Soon .

"; //curl for db ,insert done in hrmregform_sorsfort.php // $url="https://apps.starslearn.com/HRM/hrmregform_sorsfort.php"; // $url="http://192.168.1.12/Stars/StarsERP/apps/HRM/hrmregform_sorsfort.php"; //for email sent confirmation msg } ?>

Apply Online

Apply Online

We would request that you eMail the following .

1. Complete and detailed resume

2. Passport size picture

3. Current address,

4. Current salary and Expected salary

to HR@Sorsfort.com.

Our HR team should process your resume and if find suitable we will give you a call back for first round of interview .