Also try these lines at the top of your script to more easily spot any errors:$upload = $CGI->upload("pic"); open UPLOADFILE, ">", "$copydir/$newf"; binmode UPLOADFILE; print UPLOADFILE $upload; # YOU FORGOT THIS! :-) close UPLOADFILE;
use autodie; use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
In reply to Re^3: file handing
by Anonymous Monk
in thread file handing
by bigup401
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |