IT Placement Papers Web Technologies HTML
This category contains HTML Interview Questions and Answers |
How can I allow file uploads to my web site?
|
|
|
|
|
These things are necessary for Web-based uploads: * An HTTP server that accepts uploads. * Access to the /cgi-bin/ to put the receiving script. Prewritten CGI file-upload scripts are available. * A form implemented something like this:
<form method="post" enctype="multipart/form-data" action="fup.cgi"> File to upload: <input type=file name=upfile><br> Notes about the file: <input type=text name=note><br> <input type=submit value=Press> to upload the file! </form>
Not all browsers support form-based file upload, so try to give alternatives where possible.
Only registered users can write comments. Please login or register.
|