<?php
ob_start();
include("header.php");
if(isset($_POST['name']) && isset($_POST['number']) && isset($_POST['email']) && isset($_POST['profile']) && isset($_POST['file']) ){}
$name = $_POST['name'];
$number = $_POST['number'];
$email = $_POST['email'];
$profile = "Job for the Profile of ". $_POST['profile'];
$move = "resume_upload";
$target_path = "resume_upload/";
$target_path = $target_path. basename($_FILES['uploadedfile']['name'] );
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)){
echo "The hasbeen uploaded";
}
else{
echo "file is not upload";
}
$resume_path = $url . $target_path;
$to = 'rajvinder@app2mobile.com';
$msg = "Hello Sir I post my resume ". $profile ."My Name is ". $name." My number is ". $number . " and my email is " . $email . " also I Upload my resume with this mail, Download My Resume : - "."<a href= '" .$resume_path. "'>My Resume</a> ";
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: ". $email."\r\n";
@mail($to,$profile, $msg, $headers);
?>
<?php
header('location:career.php');
exit();
?>
ob_start();
include("header.php");
if(isset($_POST['name']) && isset($_POST['number']) && isset($_POST['email']) && isset($_POST['profile']) && isset($_POST['file']) ){}
$name = $_POST['name'];
$number = $_POST['number'];
$email = $_POST['email'];
$profile = "Job for the Profile of ". $_POST['profile'];
$move = "resume_upload";
$target_path = "resume_upload/";
$target_path = $target_path. basename($_FILES['uploadedfile']['name'] );
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)){
echo "The hasbeen uploaded";
}
else{
echo "file is not upload";
}
$resume_path = $url . $target_path;
$to = 'rajvinder@app2mobile.com';
$msg = "Hello Sir I post my resume ". $profile ."My Name is ". $name." My number is ". $number . " and my email is " . $email . " also I Upload my resume with this mail, Download My Resume : - "."<a href= '" .$resume_path. "'>My Resume</a> ";
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= "From: ". $email."\r\n";
@mail($to,$profile, $msg, $headers);
?>
<?php
header('location:career.php');
exit();
?>
No comments:
Post a Comment