in reply to accessing http headers from form uploads in cgi/mod_perl

CGI.pm will do it all for you. As part of the paramters for the file-upload field in a form it will give you the size of the upload, as well as enabling you to specify maximum upload size.

Doing the server-push for the progress counter is trivial. The server push can be done in CGI.pm or several other modules offer an automation of the process as well.

jdtoronto

  • Comment on Re: accessing http headers from form uploads in cgi/mod_perl

Replies are listed 'Best First'.
Re: Re: accessing http headers from form uploads in cgi/mod_perl
by p6steve (Sexton) on Sep 19, 2003 at 22:11 UTC
    Most of the hosting companies I've tried restrict script execution time to 5-30 secs to prevent runaway/attacks. So you better be happy to do this on your own box.