saberworks has asked for the wisdom of the Perl Monks concerning the following question:
I have tried passing the $fh directly from $cgi->upload('my_file_field'), but I get errors like: Bad file descriptor. I would really like to load the image directly instead of having to copy it to a different directory first. Is this possible?1) a simple filehandle, such as STDIN 2) a filehandle glob, such as *PNG 3) a reference to a glob, such as \*PNG 4) an IO::Handle object 5) the pathname of a file
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Creating GD::Image directly from CGI->upload()
by tachyon (Chancellor) on Oct 21, 2004 at 02:46 UTC | |
by saberworks (Curate) on Oct 21, 2004 at 19:24 UTC | |
|
Re: Creating GD::Image directly from CGI->upload()
by hostyle (Scribe) on Oct 21, 2004 at 09:26 UTC | |
by saberworks (Curate) on Oct 21, 2004 at 19:25 UTC |