I have this in httpd.conf:

        PerlSetVar FileUploadMax 1048576
        PerlSetVar FileUploadTemp 1

I wrote this code to test file uploading:

        my $file = $Request->{FileUpload}{sjis};
        use Data::Dumper;
        print "<pre>".Dumper($file)."</pre>";

When I upload a file that's too big, it prints this:

        $VAR1 = undef;

which means that I can't tell whether (1) the user never uploaded a
file at all, or (2) the user uploaded a file that was too big.

Is the above paragraph correct? How can I tell the difference between
(1) and (2)?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to