FileUpload.pm Version 0.07 Demonstration Page
Last Modified: 24th.March.2002
Perl CGI Testing
- Make sure FileUpload is installed.
- Change the file mode of test.cgi
to be executable.
("chmod 755 test.cgi" in unix system.)
- Go to Demonstration Page For FileUpload Module to do a test.
Very simple, just fill in the form and submit it, you will see the result.
- If FileUpload.pm is not in the standard search
path of perl, add the following line to the top of the
test.cgi script:
use lib
qw(/path/of/directory/where/this/FileUpload.pm/is/saved);
OR
BEGIN { push(@INC,
"/path/of/directory/where/this/FileUpload.pm/is/saved"); }
Perl CGI Testing Without Telnet Access
- Upload the files in this directory into your web server.
- Upload FileUpload.pm into the same directory.
- Make sure test.cgi is executable.
- Go to Demonstration Page For FileUpload Module to do a test.
Very simple, just fill in the form and submit it, you will see the result.
Possible Errors
- Path of perl is not correct at the first line of the script.
Get the correct path from your web administrator.
- FileUpload.pm is not inside the perl's search path directories.
Add the following line to the top of the
test.cgi script:
use lib
qw(/path/of/directory/where/this/FileUpload.pm/is/saved);
OR
BEGIN { push(@INC,
"/path/of/directory/where/this/FileUpload.pm/is/saved"); }
- test.cgi does not have enough privilege to
create file in current "demo" directory.
For any comments, bugs or questions, you are welcome to send an email to
tneohcb@pc.jaring.my.

