Mega Upload
To create a progress bar you need to measure how many bytes have been uploaded and compare this against the total number of bytes to be uploaded. (The total file size) This information can only be retrieved by manually processing the form submission. While other technologies like perl or J2EE gives access to the raw POST data PHP does not. Strangely enough PHP does have a variable named RAW_POST_DATA but this is populated only if the engine cannot identify the content type of the POST data. This might tempt you to change the enctype of the form field to something other than multipart/form-data. You would quickly realize that just the filename is passed on to the server instead of the file being uploaded.



| Price: | N/A FREE | Hits: | 13 |
| File Size: | Platforms: | Linux Windows | |
| Ratings: | Last Updated: | 2009-07-13 |
VIEW ALL
PHP