HELP!!!! anybody who knows php here?

Federico Voges fvoges
Mon May 17 11:39:08 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dep,

Have you deleted the cache after the changes?? jpcache, saves the
output gziped to the cache.

The "patch" I've sent you plus the cache prune, should turn gzip off,
period. If you still have problems are elsewhere.

If you like, we can meet in the IRC channel and try to solve your
problem...

Bye!!!

On Sun, 20 Oct 2002 17:17:30 -0400, dep wrote:

>
>| Ok, then open jpcache.inc.
>
>[much cut]
>
>yes, thanks. i have tried that; problem appears to be that the 
>"Accept-Encoding" browser header overrides it. which means that what 
>gets cached is whatever that particular browser can accept, which is 
>insane. even more insane is that numerous browsers claim to accept 
>things which they can't, and that is before they pretend to be 
>browsers they aren't. to top it all off, if there is nothing 
>specified in getEncoding(), php>=4.1 assumes that it can send 
>whatever it damn well pleases, which is gzipped or deflated. where, 
>exactly, this takes place i do not know; it may not even be in 
>jpcache but instead in the php implementation itself. so it looks as 
>if i need to find out the syntax for passing the permissible value 
>corresponding to text/html to getEncoding() and hardwiring it in. but 
>there is no listing that i can find of permissible values; nor do i 
>know how to code it.
>
>if it didn't default to everything, i could just nuke the 
>getEncoding() section and be content with it caching normal html. but 
>no. nor am i the only person to have encountered this:
>http://www.phpbuilder.com/annotate/message.php3?id=1009203
>
>but i've found nowhere that it's fixed.
>
>there's *got* to be a way to force text/html. but after a week of 
>looking, i sure haven't found it.
>-- 
>dep
>
>http://www.linuxandmain.com -- outside the box, barely within the 
>envelope, and no animated paperclip anywhere.
>_______________________________________________
>Linux-users mailing list
>Linux-users at linux-sxs.org
>Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

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/AwUBPbMpPBRcJRaVKt4XEQL8kwCfcYvmTOV7qG/rg+nX6F7fcGMQG5kAn39N
iSL1mBgtNIHf0aHgkX7tUKks
=6nU8
-----END PGP SIGNATURE-----




More information about the Linux-users mailing list