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]

Reply via email to