RE: [PHP] RE: Delayed page display

[email protected] ("Ford, Mike")
Newsgroups php.general
Message-ID <93ED589E60BA254F97435FE6C97F2C6709BD2739@leedsmet-exch1.leedsmet.ac.uk>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> 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: [email protected] 
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.