in reply to CGI file very odd
To be safe, use the upload() function (new in version 2.47). When called with the name of an upload field, upload() returns a filehandle, or undef if the parameter is not a valid filehandle.
This is the recommended idiom.$fh = $query->upload('uploaded_file'); while (<$fh>) { print; }
-derby
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: CGI file very odd
by Anonymous Monk on Jan 30, 2003 at 13:22 UTC | |
by derby (Abbot) on Jan 30, 2003 at 13:36 UTC | |
by Anonymous Monk on Jan 30, 2003 at 14:05 UTC | |
by derby (Abbot) on Jan 30, 2003 at 15:38 UTC | |
by Anonymous Monk on Jan 30, 2003 at 16:44 UTC |