in reply to Re^2: file handing
in thread file handing
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);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: file handing
by bigup401 (Pilgrim) on Sep 23, 2018 at 20:15 UTC | |
by poj (Abbot) on Sep 23, 2018 at 20:32 UTC |