Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() ![]() |
Reputation | Support forum (1) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 685 | All time: 4,698 This week: 254![]() |
Version | License | PHP version | Categories | |||
upload-progress 0.1.0 | GNU General Publi... | 5.2 | HTTP, PHP 5, Files and Folders |
Description | Author | |
This class can be used to track file upload progress. |
Why? Basicaly because of crossbrowser compatibility. In fact it is supported by any* browser. How to use? $p = new FileUploadProgress("unique_file_description"); // ... insert in upload form before file field echo $p->getHiddenUploadFieldHTML(); // and now get upload progress info $arrayWithThings = $p->getProgress(); // this will throw an exception if no/wrong data Please note!!! File upload track should be done using ajax or frames, php script with file data(from $_FILES) will be available after upload only, and this class make no sense if used in that script. What to install before to get it working? - To enable upload track support install and configure apc: apc.rfc1867 = 1 - Or to install uploadprogress PHP extension - Or to install PHP 5.4< and set: session.upload_progress.enabled = 1 ;set by default here |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.