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, but
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: "
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 skill
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 siz
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: [P
>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 ide
I've got a nice progress bar with this code:
for($i=0;$i<10;$i++) {
flush();
sleep(1);
echo '';
}
But read manual for the flush() function.
electroteque wrote:
>hi there i have created a script to regenerate thumbnails for a photo
>gallery , i have changed my code to use gd true co
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 conti
I agree with the flush() solution.
In addition, output a javascript code to update the display in the
browser...
for example:
documeny.theform.progressPercent.value++
Elias
"Tom Kohnen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi!
> Well i suppose flush
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 generate
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
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
12 matches
Mail list logo