RE: [PHP-DB] mysql client compression with php?

From: Date: Fri, 22 Jun 2001 08:31:49 +0000
Subject: RE: [PHP-DB] mysql client compression with php?
Groups: php.db 
Request: Send a blank email to php-db+get-9723@lists.php.net to get a copy of this message
have a look at ob_start("ob_gzhandler") which will compress the page and then send it, expecting the client to decompress it on arrival. this is all handled transparently so you don't need to worry about the decompression. i found it very slightly slower but enormous reductions in network traffic. Steve > -----Original Message----- > From: Shriram Chaubal (Personal) [mailto:shriram@edesicool.com] > Sent: 21 June 2001 15:31 > To: php-db@lists.php.net > Subject: Re: [PHP-DB] mysql client compression with php? > > > Is there anyone who can help with this? Or is there a paid > support option I > could use to help resolve this issue? > > Regards, > Shriram > > ""Shriram Chaubal (Personal)"" <shriram@edesicool.com> wrote > in message > news:9gntu2$ng8$1@w153.z064000151.sjc-ca.dsl.cnc.net... > > Hi, > > > > I have to connect my php server to a remote mysql database > and would like > to > > minimize the bandwidth usage. > > > > Adding a setting in my.cnf as follows only seems to affect the mysql > client > > applications and not php. > > > > [client] > > compress > > > > I have noticed a define in the php sources called > "HAVE_COMPRESS" but have > > no clue where it gets defined. > > > > Any tips? > > > > Cheers, > > Shri > > > > > > > > > > > > > > -- > > PHP Database Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > > For additional commands, e-mail: php-db-help@lists.php.net > > To contact the list administrators, e-mail: > php-list-admin@lists.php.net > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: > php-list-admin@lists.php.net >

« previous php.db (#9723) next »