Replies Back to Article

Progress Bar for Pure PHP Upload

seems impossible
March 21, 2003 by George Petrov

well we were looking at this already - but it seems impossible to make because PHP handles the file uploads it self and the PHP scripts get control after the files have been imploaded. So there is unfortunately currently no way how to implement such a real time progress bar.

There is hope when PHP 5 comes out - file uploads can be tracked then - so hang on for a while :)

Why not use flash to do the work
May 9, 2003 by nigel morris
Could you not use flash to check the file size on the remote desktop and then compare it against the file on the server. Thereby giving the data transfered - Just a thought..
RE: Why not use flash to do the work
May 9, 2003 by George Petrov
Well you just don't know what file to check - as PHP is uploading to its temp dir and it says the filename only when the upload is completed.
RE: seems impossible
June 5, 2003 by Doru Petrescu

actualy it is not so imposible

even more I did it ... ;-)  just a small patch to PHP, recompile, and it works!

now, i have to write a small script to display the actual progress metter to the user, and make it reload every second or so ...

i found this forum while looking for a module already done ... and thought to let you guys know that it can be done with php 4

RE: RE: seems impossible
June 11, 2003 by alexandre magne
hey this seems interesting...where did you get that patch?
where is it?
June 30, 2003 by mike haas
so where can we download this extension?
what patch? where?
August 4, 2004 by Chris Charlton
I am interested to hear about this PHP patch!?
Upload Bars are not working by Me
September 27, 2005 by suzanne velthuizen

I don't nothing about that patch, I read differt website with a upload process meter and I can not installed correctly, I have an error all the time

http://php5.bluga.net/upload-progress-meter-v4.1/

http://pdoru.from.ro/upload-progress-meter/upload-progress-meter-v4/live-demo/index.php

http://www.raditha.com/megaupload/upload.php

and

http://www.freedownloadscenter.com/Best/upload-bar-php.html

 

but non of them will work, I don't understand the things that you must replace in the php.ini and than a patch in the php etc....

so what I'm looking for is a upload bar that works with my mysql

so I look at http://blog.joshuaeichorn.com/archives/2005/05/01/ajax-file-upload-progress/ and really maybe it is because I'm from the netherlands but I don't understand non of them

sorry!!!!

RE: RE: seems impossible
February 17, 2007 by Celeste Pretzel
where can i find this imformation?