RE: [PHP] RE: Delayed page display
| From: | Ford, Mike | Date: | Fri, 05 Mar 2010 08:44:20 +0000 |
| Subject: | RE: [PHP] RE: Delayed page display | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302550@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: robert@visualize.info [mailto:robert@visualize.info]
> Sent: 05 March 2010 00:00
>
> Additional info:
>
> php.ini has output_buffering=4096. Calling flush() or
> ob_implicit_flush()
> within the script doesn't seem to help. However setting
> php_value output_buffering off
> in .htaccess does the trick.
If output buffering is on, you need both an ob_flush() and a flush() (in
that order) to force the output down the line.
Cheers!
Mike
--
Mike Ford,
Electronic Information Developer, Libraries and Learning Innovation,
Leeds Metropolitan University, C507, Civic Quarter Campus,
Woodhouse Lane, LEEDS, LS1 3HE, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 812 4730
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm