- While reading CGI Programming with Perl by O'Reilly
I discovered that their attempt 'upload.cgi' to upload files
via the CGI.pm module didn't work. Here is my fix, and diff
from the original. I even looked around Lincoln Stein's pages,
and all he cautions people about is getting it to work with Netscape
and SSL.
Stein's Comments
- I also found that using the $fh, that they use doesn't always work.
So I took the liberty of re-writing the script (minus the buffer check).
The above script is also minus the buffer check when reading from the $fh.
|