Re: [PHP] Progress Bar

2004-05-02 Thread Burhan Khalid
Craig Gardner wrote: I'm working on a script that will automatically download and burn an ISO to a CD, when passed the filename of the ISO and I want to use some sort of progress bar to show how much of the download/burn is complete. I was originally going to use wget to download the file,

Re: [PHP] progress bar for use with PHP uploads

2002-11-12 Thread Ernest E Vogelsinger
At 17:27 12.11.2002, Kenn Murrah spoke out and said: [snip] Can anyone point me in the direction of a Javascript code snippet that would display a progress bar for a PHP upload? I'm sure it can be done that way, but honestly, I lack the Javascript skills

Re: [PHP] progress bar for use with PHP uploads

2002-11-12 Thread 1LT John W. Holmes
There's no way to know the percentage of the file that's uploaded, so you can't have a true progress indicator. You could just use a little popup that shows a 'wait, we're doing something' graphic that the following page closes when it loads. ---John Holmes... - Original Message - From:

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?

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]

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

Re: [PHP] progress bar for a server side process

2002-09-03 Thread Marek Kilimajer
I've got a nice progress bar with this code: for($i=0;$i10;$i++) { flush(); sleep(1); echo 'img src=img.gif width=20 height=20 border=0 alt=X'; } But read manual for the flush() function. electroteque wrote: hi there i have created a script to regenerate thumbnails for a photo

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

Re: [PHP] progress bar

2002-08-12 Thread Justin French
Unless you can break the process up into a series of smaller process' (and use meta refresh's or javascript redirects to step through each process), you're out of luck... because the browser can't possibly know what's happening in the background on the server. For a cheap and nasty solution, how

RE: [PHP] progress bar

2002-08-12 Thread Tom Kohnen
Hi! Well i suppose flush() is useful in your case, flush out the output whenever it is called, and not when the page is fully generated (the usual case)! Sou you might to sth like this: - Print 1/4 of the progress bar - flush - wait some time - print 2/4 of the progress bar - flush i don't

RE: [PHP] progress bar

2002-08-12 Thread Dan Hardiker
To make it look that little bit nicer, you could use flash to display the bar... but I think that make take a little longer than you'd like for development. Hi! Well i suppose flush() is useful in your case, flush out the output whenever it is called, and not when the page is fully generated

Re: [PHP] progress bar

2002-08-12 Thread lallous
I agree with the flush() solution. In addition, output a javascript code to update the display in the browser... for example: scriptdocumeny.theform.progressPercent.value++/script Elias Tom Kohnen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi! Well i