in reply to Re: •Re: Uploading files: can't find contents?
in thread Uploading files: can't find contents?

how could i access $CGI::DISABLE_UPLOAD ?
#!/usr/bin/perl -w use CGI; print "CGI::DISABLE_UPLOADS: $CGI::DISABLE_UPLOADS\n";
gives:
Name "CGI::DISABLE_UPLOAD" used only once: possible typo at cgi-bin/te.pl line 3.
Use of uninitialized value in concatenation (.) at cgi-bin/te.pl line 3.
CGI::DISABLE_UPLOAD:
thx maksl

Update:
the other name variable gives CGI::POST_MAX: -1, perhaps my version of CGI can't disable upload?

Update2:
added plural to above, thx jasonk .. this results in CGI::DISABLE_UPLOADS: 0

Replies are listed 'Best First'.
Re: Re: Re: •Re: Uploading files: can't find contents?
by jasonk (Parson) on Apr 04, 2003 at 15:24 UTC

    It's plural... $CGI::DISABLE_UPLOADS.


    We're not surrounded, we're in a target-rich environment!