Re: Tracking file download progress

From: Date: Sun, 27 Dec 2009 06:02:58 +0000
Subject: Re: Tracking file download progress
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-300705@lists.php.net to get a copy of this message
>> Thanks all, I've found the solution! PHP Backend + JQuery works great! > Just out of curiosity. Can you please tell me how you initiated the download? Via JSHttpRequest( JQuery started to lie %) ) to PHP backend.... then , in file downloading cycle there are $GLOBALS['_FULL'] tells frontend complete size of the file, and $GLOBALS['_GOT'] tells clientside how bytes are downloaded..all you need from php is to disable output buffering,or it will not work! And then, showing progress bar is just easy HTML & JS trick! -- STEEL mailto:vlad62@mail.kna.ru

« previous php.general (#300705) next »