Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Browse button

Status
Not open for further replies.

gurlprogrammer

Programmer
May 30, 2001
7
0
0
US
I have an htm form for order processing and would like to add a browse button on the form so customers can browse to a file and then send it with the submitt button. Any help would be greatly appreciated.

Thanks,
Jen
 
This code should get you started:

<form action=&quot;&quot; enctype=&quot;multipart/form-data&quot;>
<input type=&quot;file&quot; size=&quot;30&quot;>
</form>

Note that the form enctype needs to be set to multipart/form-data or your upload will not work - you will also need to make sure the script that handles the submitted form knows what to do with the file (save it, email it etc)

Hope this helps...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top