ID: 5040 Updated by: sterling Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: Feature/Change Request PHP Version: 4.0.0 Release New Comment:
look at the output buffering functions. Previous Comments: ------------------------------------------------------------------------ [2000-07-08 21:43:00] [EMAIL PROTECTED] OK, I'm working on this in a library which can be appended. However, I really need access to HTTP headers that have already been set (specifically, Content-Type) by the PHP page. Bug 5278 is exactly what I need. ------------------------------------------------------------------------ [2000-06-14 22:25:47] [EMAIL PROTECTED] It would be great if PHP had an option which would buffer the response to the 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 function which is called before sending to the client (so that things like compression could be done as well). (I looked for a way to do this by importing a library, etc, but I don't see 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 could be turned on by setting a flag in the top of the script (forget what it is now) ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=5040&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]