Re: [PHP] Re: php 4.1.0 output compression

2001-12-13 Thread Rares Vasilescu

From: Yasuo Ohgaki
 How does it work? Read RFC for HTTP/1.1

I meant how do i tell PHP to use output compression.
Does PHP automatically detect the browser capability and send a compressed
response or do i have to activate it in my scripts. Or in the configuration
file?

 I know the HTTP rfc well (as i tried to implement this for myself).

Thanks for your aswer,
Rares


-- 
PHP General 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]




Re: [PHP] Re: php 4.1.0 output compression

2001-12-13 Thread Yasuo Ohgaki

Rares Vasilescu wrote:

 From: Yasuo Ohgaki
 
How does it work? Read RFC for HTTP/1.1

 
 I meant how do i tell PHP to use output compression.


Search zlib.output_compression ini directive in php.ini.
There is description in php.ini-dist, php.ini-recommended.


 Does PHP automatically detect the browser capability and send a compressed
 response or do i have to activate it in my scripts. Or in the configuration
 file?


It detects supported encoding, automatically.
Just enable zlib.output_compression in php.ini to enable.

-- 
Yasuo Ohgaki


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General 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]