Files are accessed via the $_FILES variable (much like $_POST and $_GET).
In order to send mail, you will need to have your server configured to do so.
A header("Location:") call will not work if anything gets printed or echoed to the web-browser.
How can I do that? Here is the form I am trying to work with, if it helps
[HTML]<form action="formmail.php" method="POST">
<input type="hidden" name="recipient" value="ayob@lantekonline.com">
<input type="hidden" name="subject" value="Asset Investment Form">
<input type="hidden" name="thanks" value="http://www.lantekonline.com/html/asset_thankyou.htm" />
<input type="hidden" name="required" value="email,realname">
<input type="hidden" name="alias" value="email=E-mail Address,realname=Name">
<input type="hidden" name="alias_method" value="email">
<input type="hidden" name="mail_newline" value="2">
<input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR">
<input type="hidden" name="print_blank_fields" value="true">
<input type="hidden" name="gmt_offset" value="-5">
<table align="center" width="535" cellspacing="2" cellpadding="5" border="1" height="254">
<tr>
<td width="133" height="2" align="right"><font color="6e2f32" face="Alps">Name:</font></td>
<td width="370" height="2" align="left"><input type="Text" name="realname" align="LEFT" size="35" maxlength="100">
</td>
</tr>
<tr>
<td align="right"><font color="6e2f32" face="Alps">Email: </font></td>
<td align="left"><input type="Text" name="email" align="RIGHT" size="35" maxlength="100">
</td>
</tr>
<tr>
<td align="right"><font color="6e2f32" face="Alps">Title: </font></td>
<td align="left"><input type="Text" name="title" align="RIGHT" size="35" maxlength="100">
</td>
</tr>
<tr>
<td align="right" height="4"><font color="6e2f32" face="Alps">Company:</font></td>
<td align="left" height="4"><input type="Text" name="company" size="35" maxlength="100" >
</td>
</tr>
<tr>
<td align="right" height="4"><font color="6e2f32" face="Alps">Address:</font></td>
<td align="left" height="4"><input type="Text" name="Address" align="LEFT" size="35" maxlength="100">
</td>
</tr>
<tr>
<td align="right" height="4"> </td>
<td align="left" height="4"><input type="Text" name="Address2" align="LEFT" size="35" maxlength="100">
</td>
</tr>
<tr>
<td align="right"><font color="6e2f32" face="Alps">City, State Zip: </font></td>
<td align="left"><input type="Text" name="city" align="LEFT" size="25" maxlength="75">
<input type="Text" name="State" align="LEFT" size="2" maxlength="2">
<input type="Text" name="Zip" align="LEFT" size="5" maxlength="10">
</td>
</tr>
<tr>
<td align="right"><font color="6e2f32" face="Alps">Phone: </font></td>
<td align="left"><input type="Text" name="phone" align="LEFT" size="15" maxlength="15">
</td>
</tr>
<tr>
<td align="right"><font color="6e2f32" face="Alps">Fax: </font></td>
<td align="left"><input type="Text" name="fax" align="LEFT" size="15" maxlength="15">
</td>
</tr>
</table>
<table width="535" border="1" align="center" cellpadding="5" cellspacing="2">
<tr>
<td colspan="2"><font color="6e2f32" face="Alps">Please provide an approximate asset inventory: </font></td>
</tr>
<tr>
<td width="287" height="202"><p><font color="6e2f32" face="Alps"><br>
Manufacturer(s), Model(s), Quantity, Specifications(If possible): <br>
</font></p>
<p><font color="6e2f32" face="Alps">Do you currently have a PC Refresh Plan?(If yes, how many years?)<br>
<br>
If you have a pre-existing file containing this information, please upload it here</font></p></td>
<td width="242"><p>
<textarea name="manufacturer_model_Quantity_spec"></textarea>
</p>
<p> <font color="6e2f32" face="Alps">
<input name="yes_no" type="Text" size="4" maxlength="4">
<input name="Years" type="Text" id="Years" size="10" maxlength="10">
</font><br>
<br>
</p>
<p> <input type="file" name="upload">
</p></td>
</tr>
</table>
<font color="#0000A0"><BR>
</font>
<DIV align="center">
<INPUT name="submit" type="submit" value="Submit">
</DIV>
</form>[/HTML]