Apache2::UploadProgress 0.2 review
DownloadApache2::UploadProgress is Perl module to track the progress and give realtime feedback of file uploads. SYNOPSIS In Apache:
|
|
Apache2::UploadProgress is Perl module to track the progress and give realtime feedback of file uploads.
SYNOPSIS
In Apache:
PerlLoadModule Apache2::UploadProgress
PerlPostReadRequestHandler Apache2::UploadProgress
In your HTML form:
< script src="/UploadProgress/progress.js" >< /script >
< link type="text/css" href="/UploadProgress/progress.css"/ >
< form action="/cgi-bin/script.cgi"
method="post"
enctype="multipart/form-data"
onsubmit="return startEmbeddedProgressBar(this)" >
< input type="file" name="file"/ >
< input type="submit" name=".submit"/ >
< /form >
< div id="progress" >< /div >
This module allows you to track the progress of a file upload in order to provide a user with realtime updates on the progress of their file upload.
The information that is provided by this module is very basic. It just includes the total size of the upload, and the current number of bytes that have been received. However, this information is sufficient to display lots of information about the upload to the user. At it's simplest, you can trigger a popup window that will automatically refresh until the upload completes.
However, popups can be a problem sometimes, so it is also possible to embed a progress monitor directly into the page using some JavaScript and AJAX calls. Examples using both techniques are discussed below in the EXAMPLES section.
Requirements:
Perl
Apache2::UploadProgress 0.2 search tags