Urgent: Simple HTML form with upload button?

Hi all,

I desperately need a simple form that will give the user an option to upload a file. I know this will probably involve some php and thats fine.

Basically, all I need is a text box for their Name, one for an email address, text area for a comment, an upload button so they can select a file and send.

It can either go to a folder on the server or to an email address, whichever is easier.

Can anybody help??

I have the basic html form. When the file is submitted the user can be brought to a page thanking them for the comment and upload?

<!doctype html>
<meta charset=“utf-8”>
<title>Untitled Document</title>


<form action=“” method=“get” name=“upload form”>

Name: <input name=“name” type=“text” value=“name”>
Comment:<textarea name=“comment” cols=“” rows=“”></textarea><br>

Upload your file<input name=“upload” type=“file” size=“10”></select><br>

<input name=“Submit” value=“Submit” type=“button”>


Read this PHP manual page which will walk you through all the issues, the first link shows an upload form which might be what you are looking for.

Come back if with specific questions about things you do not understand.