[Van-pm] CGI taint mode

Stas Bekman stas at stason.org
Tue Dec 6 15:28:38 PST 2005


Vincent Li wrote:
[...]
> Now I understand, I rewrote the script as you said, it gives me "Global
> symbol "$info" requires explicit package name....". I changed it to
> 
> my $info = uploadInfo($file);
> if ($info) {
>      print $info->{'Content-Type'};
> }
> else {
>       warn "can't find $file";
> }
> 
> then, no error complain, but nothing wrong with your declarartion of
> $info.   In error_log, it did say the file could not be found. What 
> reason cause the file not be found?

I don't know. Check the guts of uploadInfo?


-- 
_____________________________________________________________
Stas Bekman mailto:stas at stason.org  http://stason.org/
MailChannels: Assured Messaging(TM) http://mailchannels.com/
The "Practical mod_perl" book       http://modperlbook.org/
http://perl.apache.org/ http://perl.org/ http://logilune.com/



More information about the Vancouver-pm mailing list