
25 Jun
2001
25 Jun
'01
8:45 p.m.
Hi,
I agree, in fact it should be easier to implement the "gzip of the dump feature" that way. Is anybody working on that, I think someone does ?!
Last month, i worked on the gzip dump, just for fun. But, i had problem. ** First method use gzwrite(). Binary-safe gz-file write. Good : support by php3/php4 Bad : require write access on the server. ** Second method use gzencode(). Create a gzip compressed string Good : create a gzip compressed string...on the fly Bad : support by >= php4.0.4 What do you think about this ? I prefer the second one. With a simple test for this feature, like : if (function_exists('gzencode')) { // gzip dump feature is ok } Regards, Armel.