in reply to
Upload an image file
Even when I change that to:
open (IN, "<$file") || die "Could not read $file, $!"
I still get a file size of 0.....
Comment on
Re: Upload an image file
Replies are listed 'Best First'.
Re: Re: Upload an image file
by
Anonymous Monk
on Jul 06, 2001 at 00:59 UTC
Then check your log! 'Could not read $file, file doesn't exist' means that you must read the file per browser-protocol and not per open.
[reply]
In Section
Seekers of Perl Wisdom