Join our successful team, apply now!

The following information has been sent via the upload CV form on the test website;

First Name: $firstname
Surname: $surname
Email: $email
Telephone: $telephone
"; $problem = FALSE; if (empty($_POST["firstname"])){ $problem = TRUE; $firstname_prob = "Please enter your first name."; } if (empty($_POST["surname"])){ $problem = TRUE; $surname_prob = "Please enter your surname."; } if (empty($_POST["email"])){ $problem = TRUE; $email_prob = "Please enter your email."; } if ($_POST["email"]){ $isitthere = strpos(($_POST["email"]), "@"); } if ($_POST["email"] && $isitthere == false){ $problem = TRUE; $atprob = "Please enter a valid email address."; } if (empty($_POST["telephone"])){ $problem = TRUE; $tel_prob = "Please enter your telephone number."; } if (empty($_FILES['cv']['tmp_name'])){ $problem = TRUE; $cv_prob = "Please attatch your CV."; } $uploaddir = "uploads"; $pcfile_cv= $_FILES['cv']['tmp_name']; $uploaddir_cv = 'uploads/'; $uploadfile = $uploaddir_cv.$_FILES['cv']['name']; $cv =$_FILES['cv']['name']; $cv = str_replace(' ', '_', $cv); $file_name_cv = $_FILES['cv']['name']; $file_name_cv = str_replace(' ', '_', $file_name_cv); $extensions_cv = array('.doc', '.docx', '.pdf', '.txt'); $valid_extensions_cv = '.doc, .docx, .pdf, .txt'; $extension_cv = strrchr($_FILES['cv']['name'], '.'); $uploaded_size_cv=$_FILES['cv']['size']; $maximum_size_cv='800000'; if (!empty($_FILES['cv']['tmp_name'])){ if(!in_array($extension_cv, $extensions_cv)) { $cv_type_error = " Please select a file in the correct format ('.$valid_extensions_cv.')"; $problem = TRUE; } elseif ($uploaded_size_cv > $maximum_size_cv) { $cv_size_error = ' Your file"'.$_FILES['cv']['name'].'" is too large.
maximum file size is "'.$maximum_size_cv.'"'; $problem = TRUE; }} if ($problem == FALSE){ $user_email = $_POST["email"]; $subject = "Registration"; // Obtain file upload vars $fileatt = $_FILES['cv']['tmp_name']; $fileatt_type = $_FILES['cv']['type']; $fileatt_name = $_FILES['cv']['name']; $headers = "From: $user_email"; // Read the file to be attached ('rb' = read binary) $file = fopen($fileatt,'rb'); $data = fread($file,filesize($fileatt)); fclose($file); // Generate a boundary string $semi_rand = md5(time()); $mime_boundary = "==Multipart_Boundary_x{$semi_rand}x"; // Add the headers for a file attachment $headers .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary}\""; // Add a multipart boundary above the plain message $message = "This is a multi-part message in MIME format.\n\n" . "--{$mime_boundary}\n" . "Content-Type: text/html; charset=\"iso-8859-1\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $body . "\n\n"; // Base64 encode the file data $data = chunk_split(base64_encode($data)); // Add file attachment to the message $message .= "--{$mime_boundary}\n" . "Content-Type: {$fileatt_type};\n" . " name=\"{$fileatt_name}\"\n" . "Content-Disposition: attachment;\n" . " filename=\"{$fileatt_name}\"\n" . "Content-Transfer-Encoding: base64\n\n" . $data . "\n\n" . "--{$mime_boundary}--\n"; $ok = @mail($oemail, $subject, $message, $headers); if ($ok) { print "Thank you. Your details have been sent."; } else { //echo "Mail could not be sent"; } $cvyes = '

The file "'.$_FILES['cv']['name'].'" successfully uploaded

'; }} ?>
First Name* />
Surname* />
Email* />
Telephone*
(including std code)
/>
Upload your CV
 

Online Quote Form

Tell us your requirements online.

Call-back Request

We'll call you at a convenient time.

FAQs & Handy Tips

Questions & advice on moving house.

TESTIMONIALS
"I have used Burke & Wills 3 times over the past year and have been extremely happy every time. All the movers are so friendly and helpful which takes a lot of stress out of a moving day. It’s so nice to have guys that smile and seem to enjoy themselves. Thanks for the great work you guys were all brilliant." Mrs G — Moved within SW London