in reply to Upload a file from home dir
When called with the name of an upload field, *upload()* returns a filehandle, or undef if the parameter is not a valid filehandle.
$fh = $query->upload('uploaded_file');
while (<$fh>) {
print;
}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Upload a file from home dir
by MonkPaul (Friar) on Apr 01, 2005 at 14:51 UTC | |
by eieio (Pilgrim) on Apr 01, 2005 at 16:21 UTC |