I'm trying to allow the user to select a picture and attach it to the form which the sends the email.
Eveything works execpt the attaching a picture part, and I'm sure it has to do with my $_FILES Command.
picture is the name used for the input in my form.
$do = ($_POST['do']);
if($do == "send")
$recipient = "firstname.lastname@example.org";
$name = ($_POST['name']);
$email = ($_POST['email']);
$phone = ($_POST['phone']);
$upload = ($_FILES['picture']);
$message = ($_POST['message']);
$body = "Name: $name \r\n Email: $email \r\n Phone: $phone \r\n Description: $message \r\n $upload";
$formsend = mail("$recipient", "-QUOTE-","$body", "From: $email ($name)\r\nReply-to:$email");
echo ("<p>Your quote was sent!</p>");