1N/Aprint h1("File Upload Example"),
1N/A 'This example demonstrates how to prompt the remote user to 1N/A select a remote file for uploading. ',
1N/A strong("This feature only works with Netscape 2.0 or greater, or IE 4.0 or greater."),
1N/A 'Select the ',
cite('browser'),
' button to choose a text file 1N/A to upload. When you press the submit button, this script 1N/A will count the number of lines, words, and characters in 1N/Amy @
types =
('count lines','count words','count characters');
1N/A# Start a multipart form. 1N/A "Enter the file to process:",
1N/A# Process the form if there is a file name entered 1N/A# print cite("URL parameters: "),url_param(); 1N/A a({href=>'/~lstein'},"Lincoln D. Stein")),
1N/A 'Last modified July 17, 1996',