Upload Progress Bar
Posted 12 September 2006 - 07:50 PM
here is my index.php code:
here is my current upload.php code:
and i want it to be in the index.php. like once you press "Upload", a bar will appear (or it can just already be there, it dosn't have to appear) and then it will show the upload progress.
here is an example of what i want:
can anyone help me with this?
Posted 12 September 2006 - 08:20 PM
Posted 12 September 2006 - 08:32 PM
so how would i go about doing this?
i was thinking maybe i could test the person who is uploading's internet speed, and then see how big the file is, and then calculate how long it would take, and just set the bar as an animation. a set speed. ...it wouldn't be exact, but it would be ok with me.
Posted 12 September 2006 - 09:32 PM
Posted 17 December 2006 - 02:54 AM
Same goes for Rasmus' example using yui library (looks pretty but doesn't work in ie6, so buyer beware)
The tough part is that you'll have to:
run php 5.2 with APC (alternative php cache)
patch your php installation with pdoru's patch
or use a perl script =(
The best option to me looked like running php 5.2 w/ APC which I'm currently on now. But I'm having trouble connecting to the hooks still. You can check out how I tried to get it running at http://linardy.com/blog.php?post=8
And, don't be scared of ajax, just head over to ajaxfreaks.com when you've got some time to kill, and you'll be asynchronously calling your php scripts in no time at all. Probably learn a few dom tricks too
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users