#!/usr/bin/perl -w
#
# Perl script to accept file uploads. This script is provided for demonstration
# purposes only.
# you need to have the CGI module installed.
#
# Copyright Rad Inks (pvt) 2003
# http://www.radinks.com
use CGI;
use Carp;
sub bye_bye {
$mes = shift;
print "
$mes
\n";
exit;
}
print "Content-type: text/html\n\n ";
my $cg = new CGI();
#
# Files will not be saved if $save_path is left undefined. Please make sure
# the path you choose is writable.
#
my $save_path;
print <<__TABLE__;
| Files Uploaded | |
| $filename | \n"; print "$fsize |
Sample Perl Upload handler provided by Rad Inks
have you seen our Secure FTP Applet or our Multimedia Messaging Solution?
__TABLE__