Login   Register  
PHP Classes
elePHPant
Icontem

100% PHP Uploader: Track the progress of file upload with Web sockets

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-11-03 (3 years ago) RSS 2.0 feedStarStarStar 53%Total: 2,965 This week: 3All time: 1,159 This week: 564Up
Version Licenses PHP version Categories  
up-man 0.1GNU Free Documentation ...5.2HTTP
Description Author  

This class can track the progress of file upload using Web sockets receive the files.

It can generate HTML and JavaScript to upload a file by using a TCP socket that listens to the HTTP request on a given port to receive the files being uploaded.

The class can send HTML with JavaScript statements to the browser that will update the upload progress information displayed to the user.

Innovation Award  
PHP Programming Innovation award winner
November 2011
Winner


Prize: One book of choice by Packt
Uploading files to Web sites is a task that may take long if files are large.

Showing the progress of uploading large files to users is an important feature because it lets the user know how long he needs to wait and so reduce his anxiety.

This class can be used to show the progress of files being uploaded to a site. It starts a parallel Web server that receives a file being uploaded.

This way it can keep track of how much data has been received in order to show progress report in a parallel request using HTML and JavaScript to update the progress information on a Web page.

Manuel Lemos
Picture of Richard Keizer
Name: Richard Keizer <contact>
Classes: 7 packages by
Country: The Netherlands The Netherlands
Age: 40
All time rank: 48313 in The Netherlands The Netherlands
Week rank: 312 Up11 in The Netherlands The Netherlands Up
Innovation award
Innovation award
Nominee: 5x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Image file barbackground.jpg Data background for progressbar
Plain text file buffer.class.php Class storage for binary data
Plain text file httprequestparser.class.php Class very small multipart message parser
Accessible without login Plain text file index.php Example server example
Accessible without login Plain text file readme.txt Doc. read this first!
Accessible without login Image file throbber.gif Icon animated throbber
Plain text file uploadmanager.class.php Class the main class

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,965All time:1,159
 This week:3This week:564Up
User Ratings User Comments (1)  
 All time
Utility:66%StarStarStarStar
Consistency:70%StarStarStarStar
Documentation:58%StarStarStar
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:53%StarStarStar
Rank:1409
 
Don t work for me.
3 years ago (Fernando)
40%StarStarStar