Could any one amend this code to upload a file and email
<pre><code>&lt;?php
    $contactus_subject="Documents";
    $contactus_office="admin@gmail.com";
    $your_email = $_POST['email'];
    $your_subject = "Document Name";
    $body = &lt;&lt;&lt;EOD
Email : $your_email &lt;br&gt;
Subject :$your_subject &lt;br&gt;
EOD;
    $headers = "From : $email\r\n";
    $headers = "Content-type:text/html\r\n";
    $mail_status = mail($contactus_office, $contactus_subject, $body, $headers);
if ($mail_status) { ?&gt;
    &lt;script language="javascript" type="text/javascript"&gt;
    alert('Thank you.');
    &lt;/script&gt;
&lt;?php
  } else { ?&gt;
    &lt;script language="javascript" type="text/javascript"&gt;
    alert('Message failed. Please, send an email to admin@gmail.com');
    &lt;/script&gt;
 &lt;?php
    }
?&gt;
</code></pre>
