upload option

May 4, 2009 at 23:43:54
Specs: Windows XP
How can I create a upload option on my html website.

Please help...

See More: upload option

Report •

May 7, 2009 at 13:26:11
For a real basic upload, try something similar to

<form enctype="multipart/form-data" action="some script to handle the form" method="POST">
<input type="hidden" name="MAX_FILE_SIZE" value="max size of upload allowed in bytes eg: 50000" />
Upload: <input name="userfile" type="file" />
<input type="submit" value="Send File" />

The max file upload size must precede the input field for the file. The server side language handles the form. HTML on its on won't process forms. here's a link to forms in a little more depth, and here's the section on uploading.

Hope that helps

My work in progress. I hate JS. :P

Report •
Related Solutions

Ask Question