Re: PHP 4.0 Bug #5040: Support for persistent HTTP/1.0 connections
| From: | Zeev Suraski | Date: | Wed, 14 Jun 2000 22:15:22 +0000 |
| Subject: | Re: PHP 4.0 Bug #5040: Support for persistent HTTP/1.0 connections | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-21345@lists.php.net to get a copy of this message | ||
Their prototypes are documented inside the source code itself. Try looking at ./ext/standard/output.c, search for 'ob_start'.
For the INI part, look at the php.ini-dist file.
Zeev
At 23:07 14/06/2000, Mark Nottingham wrote:
Great! Are they documented anywhere? have looked for a 4.0 manual/docs, googled and deja'd, don't see anything. Thanks, Quoting Zeev Suraski <zeev@zend.com>: From your letter I'm not sure whether you're aware of the output buffering support in PHP 4.0 or not. PHP 4.0 has full output buffering support, which enables what you asked for, pretty much. It's turned off by default, but it can be turned on by calling the ob_*() functions, or by enabling output buffering using php.ini directives. Zeev At 22:25 14/06/2000, mnot@pobox.com wrote:-- Zeev Suraski <zeev@zend.com> http://www.zend.com/toFrom: mnot@pobox.comOperating system:PHP version: 4.0.0 Release PHP Bug Type: Feature/Change RequestBug description: Support for persistent HTTP/1.0 connections It would be great if PHP had an option which would buffer the responsethe client, so that it could add a Content-Length header to enable persistent connections with HTTP/1.0 clients. This could be done automagically, or there could just be an option to buffer the output of the script and make it available to a functionwhichis called before sending to the client (so that things like compressioncould be done as well). (I looked for a way to do this by importing a library, etc, but I don'tsee anything that would make it possible; if there is such a thing, a pointer would be much appreciated). Note that IIS5 buffers ASP responses by default now; in 4, they couldbeturned on by setting a flag in the top of the script (forget what it isnow)-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail:php-list-admin@lists.php.net -- Zeev Suraski <zeev@zend.com> http://www.zend.com/