Re: [PHP] Progress bar for uploading files

2002-10-16 Thread Matt

From: Oscar F [EMAIL PROTECTED]
 Sent: Wednesday, October 16, 2002 2:17 PM
 Subject: [PHP] Progress bar for uploading files

 I'm working on a file uploading script, but I need to know if there is a
 way to know what's the progress of the file, so I can make la a progress
 bar?.. Any ideas? Please?.

Extensive discussion on this is at:
http://marc.theaimsgroup.com/?l=php-generalw=2r=1s=progress+barq=b



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Progress bar for uploading files

2002-10-16 Thread Joseph W. Goff

Actually, I don't think you can make a progress bar function correctly for a
file upload.  The file is uploaded before control is ever given to the
script.
- Original Message -
From: Oscar F [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 16, 2002 1:17 PM
Subject: [PHP] Progress bar for uploading files


 Hello,

 I'm working on a file uploading script, but I need to know if there is a
 way to know what's the progress of the file, so I can make la a progress
 bar?.. Any ideas? Please?.

 Thanks in advance.

   Oscar F.-



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Progress bar for uploading files

2002-10-16 Thread Daniel Masson

I needed that once ... I uploaded files using ftp functions .. And then
a pop-up comes checking the size on the remote host .. And comparing
with the size on the local machine, that way a colud make that the pocp
up displays a bar and refreshes every n seconds, displaying the bar with
a longer size everytime.

Cordialmente
Daniel Massón = Ingeniero de desarollo
[EMAIL PROTECTED]
www.imagine.com.co
Tels: (57)(1) 2182064 - 6163218
Bogotá - Colombia

- Soluciones web para internet e intranet
- Asesoría y Soporte Técnico
- Licenciamiento de Software 

 



-Mensaje original-
De: Oscar F [mailto:[EMAIL PROTECTED]] 
Enviado el: miércoles, 16 de octubre de 2002 13:17
Para: [EMAIL PROTECTED]
Asunto: [PHP] Progress bar for uploading files


Hello,
 
I'm working on a file uploading script, but I need to know if there is a
way to know what's the progress of the file, so I can make la a progress
bar?.. Any ideas? Please?.
 
Thanks in advance.
 
  Oscar F.-



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] progress bar for uploading files

2002-08-16 Thread Peter J. Schoenster

On 16 Aug 2002 at 23:40, electroteque wrote:

 hi guys i was wondering if there was anyway to have a progress bar for
 uploading images ?

TMTOWDI, but here is a way I did something similar. I was spidering remote sites and 
to get user's data and store in a database and the user could not continue until 
the spider spun it's web.

I accpeted the data I needed and then returned a page with the HTTP-REFRESH tag in it 
with something like this

meta http-equiv=Refresh content=10; 
URL=http://yoursite.com/verify_upload?process_id=Xamp;action=check_uploadamp;timer=X
 

So it refreshes every 10 seconds and checks to see if process X  has finished, if so 
then redirect to the next step,  if not then just return but upgrade the timer so you 
can increase your counter (perhaps a percentage in a table cell).


Peter





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php