Re: Implementing download progress

From: Date: Mon, 06 Apr 2015 05:06:38 +0000
Subject: Re: Implementing download progress
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-324770@lists.php.net to get a copy of this message
On Apr 5, 2015, at 9:36 PM, Jeffry Killen wrote:
Hi again: I have successfully implemented a class that uses the code examples and suggestions from the good folks on this list.
(etc....)
////// etc////
// looking at the manual ob_clean() won't work unless ob_start() is called. This should be ob_flush()
             ob_clean();
             flush();
             readFile($_file);
             $_out['success'] = true;
             return $_out;
            }
    }


« previous php.general (#324770) next »