HELP!!!! anybody who knows php here?
Federico Voges
fvoges
Mon May 17 11:39:09 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 20 Oct 2002 19:26:53 -0400, dep wrote:
>
>| Have you deleted the cache after the changes?? jpcache, saves the
>| output gziped to the cache.
>
>sure i have. and the whole goal is to *keep* the output from being
>gzipped.
>
>for example, yesterday an unreadable cachefile was created by me,
>using opera (konqueror will do the same thing); it is here:
>
>http://www.linuxandmain.com/jpcache/jpcache-http___www_linuxandmain_com__modules_php:4852f2fafba54295bf72eb6590cfdc69
>
>but at the same time, someone with a browser that did not claim to
>accept gzipped content viewed a page on the site, and this was the
>result:
>
>http://www.linuxandmain.com/jpcache/jpcache-http___www_linuxandmain_com__modules_php:11ed08a6952c2d47134e812195fede17
>
>| The "patch" I've sent you plus the cache prune, should turn gzip
>| off, period. If you still have problems are elsewhere.
>
>the problem still exists. the only way around it that i can find is to
>force-feed the thing a getEncoding() value of "text/plain,text/html"
>and i do not know how to code that.
>
Does your PHP has gzip output enabled?? If so, try using
ini_set('zlib.output_compression', 'Off') in your script (right at the
start befor you include jpcache). Or better yet, disable it in php.ini
(if you have access to it).
I haven't played with output buffering in PHP, but maybe it'll return
the compressed output if you have zlib turned on (just a guess)...
Bye!!!
Federico Voges
Socio gerente
Intrasoft
Malabia 2137 14 A
(1425) Buenos Aires
Argentina
Te/Fax: 54-11-4833-5182
e-mail: fvoges at intrasoft.com.ar
Web: http://www.intrasoft.com.ar
PGP Public Key Fingerprint: A536 4595 EB6F D197 FBC1 5C3A 145C 2516
-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.7.1 (C) 1997-1999 Network Associates, Inc. and its affiliated companies.
iQA/AwUBPbNKQRRcJRaVKt4XEQKTpQCfas8XuF4+0+ej7Px7SJkQg0smnzIAoKzb
31skeTsSbK3cihFCdkcXYiSc
=fJSE
-----END PGP SIGNATURE-----
More information about the Linux-users
mailing list