On 5/2/06, Barry Hoggard <[EMAIL PROTECTED]> wrote:
I'm getting ready to add an upload meter to some CGI::Application-
based applications, running under mod_perl (1.x).  Is there a plugin
I've missed, or a tutorial somewhere I could use?  Otherwise I'll
just adapt something from one of the CPAN modules.

For mod_perl 1 there is the old Apache::UploadMeter, but that is
pretty limited and not very flexible.

For mod_perl 2, I just released Apache2::UploadProgress (along with
Christian Hansen).  It is extremely flexible and you can get it to
work without needing to make any changes to your code.  You just need
to add an onsubmit call to your upload form and the rest is handled
for you behind the scenes.  See the following URL for a demo:

http://cees.crtconsulting.ca/perl/examples/uploadprogress/embedded.cgi
http://cees.crtconsulting.ca/perl/examples/uploadprogress/popup.cgi


But since you mention mod_perl 1, I guess you will have to do a lot of
the work yourself.  You should at least be able to get some ideas on
the clients side stuff from Apache2::UploadProgress (like the
JavaScript).

Cheers,

Cees

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to