[Phpmyadmin-devel] dumps and php.ini

Marc Delisle lem9 at users.sourceforge.net
Tue Aug 7 01:22:32 CEST 2001


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 at 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 at lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel





More information about the Developers mailing list