Re: File Uploader - Progress

From: Date: Wed, 18 Sep 2002 06:06:11 +0000
Subject: Re: File Uploader - Progress
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-15876@lists.php.net to get a copy of this message
I've made something to show download percentage with Java, with an Applet So then if you want to I can send you a class that downloads a file with a download status bar on it. Then you may handle your problem. "Stuart Dallas" <stuart@sharedserver.net> escreveu na mensagem news:3CD2FE47.2527.AF1141@localhost... > On 3 May 2002 at 15:57, Mike Flynn wrote: > > At 01:21 AM 5/4/02 +0530, Arijit Chaudhuri wrote: > > >File uploads are a breeze to code in php. However, I have got a > > >request from a client to show the percentage uploaded or some graphic > > >progress monitor as the upload process is difficult to track for > > >large files. Is there any way of coding such a progress tracker for > > >file uploads in php? > > > > Unfortunately, I don't think there is. The file data is sent in the > > *request* for the PHP page, meaning the PHP page doesn't even get sent > > back to the user until the file is done uploading. So there's not > > really any choice but for the user to view the page with the upload > > form until the file is done uploading. > > I've been thinking about this, and there may be a way. I don't know how PHP handles file > uploads, but it has to be saving the file it's receiving somewhere. You could launch a popup > window when the form is submitted. That popup goes to a page that gets the size of the file > PHP is saving the upload to and displays it and refreshes itself periodically. > > I dunno if it would work, but it's a possibility. > > -- > Stuart

« previous php.windows (#15876) next »