Hi,
if php.ini contains:
output_buffering = On output_handler ="ob_gzhandler"
Then a dump transmitted to a file, and not asked to be compressed, will be always compressed.
Should we work around this?
Marc
On Sun, 5 Aug 2001, Marc Delisle wrote:
Hi,
if php.ini contains:
output_buffering = On output_handler ="ob_gzhandler"
Then a dump transmitted to a file, and not asked to be compressed, will be always compressed.
Should we work around this?
Marc
Not asking to be compressed can be seen as asking to not be compressed, so it's probably best to do so.
This setting in php.ini doesn't MAKE the transmission be compressed, it only compresses if the client asks for it and is supported by php.
So, if the client asks for it compressed, I say go ahead and let them have it compressed.
I don't think this will present an error with the ob_ code in phpMyAdmin -- ie, having it _on_ in both places.
It is really doing the same thing, but instead of on a system level (php.ini) it is doing it on an application level -- so, what ob_* is providing in phpMyAdmin is actually of bennifit, because many users of phpMyAdmin run their software on servers that they _do_not_ have system administrator rights on.
Then a dump transmitted to a file, and not asked to be compressed, will be always compressed.
BTW, it _should_ be only compressed durring transmission. It should arrive from the client software (web brower) to the user (the human) and presented to be saved as non-compressed.
Jeremy
Jeremy Brand :: Sr. Software Engineer :: +393485323988 :: jeremy@nirvani.net http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - "LINUX is obsolete" -- Andy Tanenbaum, January 29th, 1992 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Get your own Free, Private email at http://www.smackdown.com/
Jeremy,
if php.ini says to compress, and the phpMyAdmin user asks for a transmitted dump, uncompressed, he gets a compressed dump in the file, and this is not right, IMHO.
Marc
jeremy brand a écrit :
This setting in php.ini doesn't MAKE the transmission be compressed, it only compresses if the client asks for it and is supported by php.
So, if the client asks for it compressed, I say go ahead and let them have it compressed.
I don't think this will present an error with the ob_ code in phpMyAdmin -- ie, having it _on_ in both places.
It is really doing the same thing, but instead of on a system level (php.ini) it is doing it on an application level -- so, what ob_* is providing in phpMyAdmin is actually of bennifit, because many users of phpMyAdmin run their software on servers that they _do_not_ have system administrator rights on.
Then a dump transmitted to a file, and not asked to be compressed, will be always compressed.
BTW, it _should_ be only compressed durring transmission. It should arrive from the client software (web brower) to the user (the human) and presented to be saved as non-compressed.
Jeremy
Jeremy Brand :: Sr. Software Engineer :: +393485323988 :: jeremy@nirvani.net http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
"LINUX is obsolete" -- Andy Tanenbaum, January 29th, 1992
Get your own Free, Private email at http://www.smackdown.com/
Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel