pbcommun
08-01-2005, 01:49 PM
how do i get the [Browse] button in an email form? I want to allow people to mail attatchments via form.
Thanks :)
kenny
08-01-2005, 09:59 PM
This HTML code will generate the filename field and the Browse... button:
<input type="File" name="upload_file">
Here is the same code in action:
<input type="File" name="upload_file">
You have to make sure the script that will handle the form data can manage the file upload.
Here is a RFC that may shed a bit more light on the subject:
http://www.vivtek.com/rfc1867.html