Welcome to the Monastery | |
PerlMonks |
Re: CGI hookby rhesa (Vicar) |
on Aug 08, 2006 at 02:05 UTC ( [id://566046]=note: print w/replies, xml ) | Need Help?? |
Have a look at Apache2::UploadProgress.
Update: the upload hook that you pass into new() only takes effect on file uploads, not on generic POST requests. Here's a little script that lets you test it. You will soon notice that the upload hook - while working as intended - is completely useless. The reason for this is that under regular CGI, you simply don't get to send output to the browser before the entire post has been received. To give feedback while the upload is in progress, you must trick the webserver into letting you, and that's why Apache2::UploadProgress is a much better tool than rolling your own.
In Section
Seekers of Perl Wisdom
|
|