You are here: Re: Massive problem with output buffering « PHP Programming Language « IT news, forums, messages
Re: Massive problem with output buffering

Posted by Rik Wasmus on 11/21/07 21:39

On Wed, 21 Nov 2007 22:15:10 +0100, <jools@by.com> wrote:

>
>> If it's a buffer of PHP
>> itself, and that buffer gets flushed/deleted it's another thing.
>
> While I'm doing that could you explain this a little please? It sounds
> like it could be possible but I dont know enough about how PHP works

If you get an error that your file is not readable, this would not be the
problem. The reading should allready be done, before a possible buffer may
or may not be discarded. Would this be the case you mysteriously wouldn't
have any content without any error.

> What buffer might it use - or could you point me at the right place in
> the PHP docs ?

Buffers can exists anywhere between the requester and the PHP script
(PHP,webserver,proxy,router,UA, etc.). See for default PHP buffers
<http://nl2.php.net/manual/en/ref.outcontrol.php>. What different buffers
are active at any point in the code can be checked with
ob_get_status(true);
--
Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация