Recommend this page to a friend! |
Download .zip |
Info | View files (7) | Download .zip | Reputation | Support forum (6) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2011-11-03 (4 years ago) | 49% | Total: 3,069 This week: 1 | All time: 1,139 This week: 1,047 |
Version | Licenses | PHP version | Categories | |||
up-man 0.1 | GNU Free Document... | 5.2 | HTTP |
Description | Author | |||
This class can track the progress of file upload using Web sockets receive the files. Innovation Award
|
Pure PHP uploader with progress bar! BEWARE: this is not for the faint hearted! if you don't know anything about HTTP requests and/or configuring your php-instance then pls stop reading and get back to school. This class is just a concept, it's usable, but certainly not production ready! This is an implementation of a 100% PHP upload manager. I've often broken my head to find a neat solution for this subject, and finally wrote one that's not too hard too manage and understand. The main goal was that it would be small. I started work on the socket abstraction part when I found out that in the upcoming PHP 5.4 release there will be upload progress functionality included. (late but ok). The latter is the reason I quit development of this little gem. If anybody feels like having a version with abstracted sockets then pls contact me. how to use this: 1. Put everything in a folder on your web server 2. Make sure the folder is writable and accessible with a browser. 3. Point your browser to this folder You should be up and running! pls. note that files are uploaded to the current folder! I've tested this with: - PHP 5.2.14 and Apache/2.2.14 (Unix) - PHP 5.3.6 and Apache/2.2.20 (Unix) - Firefox and Safari both on Mac OSX - Firefox and IE7 both on Windows XP considerations: Now when I think about this I would like to make a new implementation more proxy-a-like: http-proxy with status monitoring, this way we can project status for any kind of http request, not just multipart form uploads. |
Files |
File | Role | Description |
---|---|---|
barbackground.jpg | Data | background for progressbar |
buffer.class.php | Class | storage for binary data |
httprequestparser.class.php | Class | very small multipart message parser |
index.php | Example | server example |
readme.txt | Doc. | read this first! |
throbber.gif | Icon | animated throbber |
uploadmanager.class.php | Class | the main class |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | User Comments (1) | ||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.