Form with file upload in it prob....PLS HELP!

Hi all, I’m trying to male a form with file upload in it…well after some tutorials here is what I got:

file.html - uploads the archive to a folder on my ftp
form.html - sends a form to my e-mail
upload.php - helps file.html do what it has to =)

file.html


<form action="./upload.php" method="post" enctype="multipart/form-data">
<p>
<label for="file">Select a file:</label> <input type="file" name="userfile" id="file"> <br />
<button>Upload File</button>
<p>
</form>

form.html


<table width="100%" height="100%" border="0">
<tr>
<td align="center" valign="top"><table width="760" height="403" border="0" align="center" class="mae">
<tr>
<td width="289" height="92"><img src="imgs/logo.png" alt="companyLogo" width="250" height="71" class="logo" /></td>
<td width="461" valign="bottom" class="menu"><a href="index.php">home</a> | <a href="about.php">about us</a> | <a href="#" class="menu">services</a> | <a href="work.php">our work</a> | <a href="news.php">news</a> | careers | <a href="contact.html">contact us</a></td>
</tr>
<tr>
<td height="289" colspan="2"><table width="383" height="233" border="0" align="center" class="conteudo">
<tr>
<td height="46" class="titulo">careers</td>
</tr>
<tr>
<td valign="top" class="texto"><table width="379" border="0">
<tr>
<td><span class="texto">bbla bla bla bla bla bla lba bla.</span><br />
<br/>
<form method="post" action="http://www.form.mail....">
<!--<form action="./upload.php" method="post" enctype="multipart/form-data">-->
<input type="hidden" name="redirect" value="http://www.mydomain.com/filesent.html">
<input type=HIDDEN name="recipient" value="[email protected]">
<input type=HIDDEN name="email" value="[email protected]">
<input type=HIDDEN name="subject" value="Resume from Cria's website">
name:<span id="n_resume">
<input name="name" type="text" id="name" size="45" maxlength="50" /></span><br />
<br />
email: <span id="e_resume">
<input name="e-mail" type="text" id="e-mail" size="45" maxlength="50" /></span><br />
<br />
resume:
<input type="file" name="resume" id="resume" />
<br />
<br />
<input type="submit" name="submit" id="submit" value="send" />
<br />
</form></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2" align="center" class="rodape">4371 Fortune Ave | Richmond, BC | V7E 5J7 | Canada | +1 604 728.7851</td>
</tr>
</table></td>
</tr>
</table>
<script type="text/javascript">
<!--
var sprytextfield1 = new Spry.Widget.ValidationTextField("n_resume");
var sprytextfield2 = new Spry.Widget.ValidationTextField("e_resume");
//-->
</script>

upload.php


<?php
// Configuration - Your Options
$allowed_filetypes = array('.jpg','.gif','.bmp','.png@@AP OS@@,'.pdf'); // These will be the types of file that will pass the validation.
$max_filesize = 1524288; // Maximum filesize in BYTES (currently 1.5MB).
$upload_path = './files/'; // The place the files will be uploaded to (currently a 'files' directory).

$filename = $_FILES['userfile']['name']; // Get the name of the file (including file extension).
$ext = substr($filename, strpos($filename,'.'), strlen($filename)-1); // Get the extension from the filename.

// Check if the filetype is allowed, if not DIE and inform the user.
if(!in_array($ext,$allowed_filetypes))
die('The file you attempted to upload is not allowed. Please save it as JPG, PNG, or PDF');

// Now check the filesize, if it is too large then DIE and inform the user.
if(filesize($_FILES['userfile']['tmp_name']) > $max_filesize)
die('The file you attempted to upload is too large. Maximum file size is 1.5MB');

// Check if we can upload to the specified path, if not DIE and inform the user.
if(!is_writable($upload_path))
die('the file could not be uploaded to the specified directory, please CHMOD it to 777.');

// Upload the file to your specified path.
if(move_uploaded_file($_FILES['userfile']['tmp_name'],$up load_path . $filename))
echo 'Your file upload was successful, view the file <a href="' . $upload_path . $filename . '" title="Your File">here</a>'; // It worked.
else
echo 'There was an error during the file upload. Please try again.'; // It failed :(.

?>

here is what I need:
make the form send the e-mail and also upload the archive to my ftp so I can download it to my machine afterwords!!

THANKs FOR THE HELP!!!