1. | Type <form method="post" enctype="multipart/form-data". The enctype attribute ensures that the file is uploaded in the proper format.
|
2. | Next, type action= "upload.url">, where upload.url is the URL of the script that processes incoming files. You'll need a special script for this.
|
3. | Type the caption for the file upload area so your visitors know what to do. Something like What file would you like to upload? would work well.
|
4. | Type <input type="file" to create a file upload box and a Browse button.
|
5. | Type name="title", where title identifies to the server the files being uploaded.
|
6. | If desired, type size="n", where n is the width, in characters, of the field in which the visitor will enter the path and file name.
|
7. | Type the final />.
|
8. | Complete the form as usual, including the submit button and final </form> tag.
|