Post Your Resume
include('SMTPconfig.php'); include('register-SMTPclass.php'); include('register-user-mail.php'); $max_allowed_file_size = 204800; // size in Bytes $errors =''; if($_SERVER["REQUEST_METHOD"] == "POST") { $filename = $_FILES['files']['name']; $filetypes = substr($filename, strrpos($filename, '.') + 1); $filesizes = $_FILES['files']['size']; //------------Do Validations------------- if($filetypes == "doc" || $filetypes == "docx") { $errors =''; } else { $errors = "\n The uploaded file is not supported file type. Only the following file types are supported: doc, docx"; } if($filesizes > $max_allowed_file_size) { $errors .= "\n Size of uploaded file should be less than 200 Kb"; } if(empty($errors)) { $name = $_POST['name']; $mail = $_POST['email']; $degree = $_POST['degree']; $stream = $_POST['stream']; $experience = $_POST['exp']; $city = $_POST['city']; $skills = $_POST['skills']; $filepath = $_FILES['files']['tmp_name']; //$body = "Name: $name"."\r\n"; // $body .= "Email Address: $mail"."\r\n"; // $body .= "Qualification: $degree"."\r\n"; // $body .= "Stream: $stream"."\r\n"; // $body .= "Experience: $experience"."\r\n"; // $body .= "City: $city"."\r\n"; // $body .= "Skills: $skills"."\r\n" ; //$bcc = $_POST['email']; $to = 'info@nextgenits.com'; $from = 'contact@nextgenits.com'; //$to = 'n.b.sundar.mca@gmail.com'; $subject = 'Career'; $body = ''; $body .= 'Name: | " . strip_tags($_POST['name']) . " |
Email Address: | " . strip_tags($_POST['email']) . " |
Qualification: | " . strip_tags($_POST['degree']) . " |
Stream: | " . strip_tags($_POST['stream']) . " |
Experience: | " . strip_tags($_POST['exp']) . " |
City: | " . strip_tags($_POST['city']) . " |
Skills: | " . strip_tags($_POST['skills']) . " |
Dear " .strip_tags($_POST['name']) .",
";
$body .= "Thank you for your interest in a career with Nextgen IT Solutions!
";
$body .= "If we find your profile suitable to our needs, we will revert to you very soon.
";
$body .= "Warm regards,
";
$body .= "HR Team
";
$body .= "NextGen IT Solutions
"; $body .= "
DISCLAIMER: |
Information transmitted by this e-mail may be proprietary to |