include('config.php'); if(isset($_POST['submit'])){ //echo "
";
	//print_r($_POST);
	//echo "
"; $first_name =$_POST['first_name']; $second_name =$_POST['second_name']; @$email =$_POST['email']; @$qualification=$_POST['qualification']; @$phone =$_POST['phone']; @$phoneAlter =$_POST['phoneAlter']; @$place =$_POST['place']; @$city =$_POST['city']; @$country =$_POST['country']; @$states =$_POST['statesRegion']; @$desc =$_POST['desc']; @$source =$_POST['source']; //@$phone =$_POST['resume']; @$desc = mysql_real_escape_string($_POST['desc']); $fname = time(); @$extension =end(explode(".", $_FILES['profile']['name'])); $filename = $fname.'.'.$extension; //echo "insert into careers(first_name,second_name,qualification,email,phone,phoneA,place,city,country,states,`desc`,source,profile,`date`) values('$first_name','$second_name','$qualification','$email','$phone','$phoneAlter','$place','$city','$country','$states','$desc','$source','$filename',now())"; if(mysql_query("insert into careers(first_name,second_name,qualification,email,phone,phoneA,place,city,country,states,`desc`,source,profile,`date`) values('$first_name','$second_name','$qualification','$email','$phone','$phoneAlter','$place','$city','$country','$states','$desc','$source','$filename',now())")){ //echo "successfully inserted"; } //else //echo "not inserted properly"; @$files = $_FILES['profile']['name']; $status =''; if($files != "") { $directory='attachments/'; if(move_uploaded_file($_FILES['profile']['tmp_name'], $directory.$filename)){ chmod($directory.$filename,0777); $status = 201; echo "successfully uploaded"; @$fileatt = $directory.$filename; // Path to the file location in server //move_uploaded_file($_FILES['uploadfile']['tmp_name'], @$fileatt); @$fileatt_type = $_FILES['profile']['type']; //File Type @$file = fopen($fileatt,'rb'); @$data = fread($file,filesize($fileatt)); fclose(@$file); @$semi_rand = md5(time()); @$mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; @$recipientbody ="Name : ".$first_name." ".$second_name."\n qualification : ".$qualification."\nE-mail : ".$email."\nPhone Number : ".$_POST['phone']."\nLocation : ".$_POST['place']."\nDescription : ".$_POST['desc']; @$topostpersonbody='
'.ucwords($first_name." ".$second_name).'
 
Thank you for submitting your profile to OMICS International

We will get back to you soon
 
With Best Wishes
OMICS International
'; //================================================================================================== $recipient ="careers@omicsgroup.com"; //================================================================================================== $to= "$email"; $rsubject ="Profile has been Received from : ".$first_name." ".$second_name; $topostperson="Thank you for submitting your profile to OMICS International "; $mailheader1 = "From: ".$email; $mailheader1 .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary}\""; $recipientbody = "This is a multi-part message in MIME format.\n\n" . "--{$mime_boundary}\n" . "Content-Type: text/plain; charset=\"iso-8859-1\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $recipientbody . "\n\n"; $data = chunk_split(base64_encode($data)); $recipientbody .= "--{$mime_boundary}\n" . "Content-Type: {$fileatt_type};\n" . " name=\"{$fname}\"\n" . //"Content-Disposition: attachment;\n" . //" filename=\"{$fileatt_name}\"\n" . "Content-Transfer-Encoding: base64\n\n" . @$data . "\n\n" . "--{$mime_boundary}--\n"; @$mailheader2 = "From: OMICS International < $recipient >\n"; @$mailheader2 .= "Reply-To: OMICS International< $recipient >\n"; @$mailheader2 .= "Content-type: text/html; charset=iso-8859-1\r\n"; //==================================== mail($recipient, $rsubject, $recipientbody,$mailheader1) or die("Failure!"); @$mail=mail($to, $topostperson, $topostpersonbody,$mailheader2) or die("Failure!"); if($mail) { echo @$msg="Thank you for submitting your Profile to OMICS Publishing Group. We will get back to you soon..."; //$_SESSION['title']=""; //$_SESSION['fname']=""; //$_SESSION['lname']=""; //$_SESSION['country']=""; //$_SESSION['email']=""; //$_SESSION['phno']=""; //$_SESSION['category']=""; //$_SESSION['track_name']=""; //$_SESSION['address']=""; session_destroy(); } } } } OMICS International | Career Form

OMICS International Careers: A global platform to stretch your talents!

Other Information:

How did you find this job?

Resume

* Required Fields
NOTE: Omics will go through your profile and do the needful to you.