Re: [PHP] ob_gzhandler problems under 4.3.0???

2003-02-21 Thread Gerard Samuel
Thanks. Worked like a charm... Jason Sheets wrote: PHP is starting output buffering automatically for you and then you are starting it in your script as well, that is why you are receiving the message ob_gzhandler can not be used twice. Use ob_get_level to check if output buffering is not alread

Re: [PHP] ob_gzhandler problems under 4.3.0???

2003-02-21 Thread Jason Sheets
PHP is starting output buffering automatically for you and then you are starting it in your script as well, that is why you are receiving the message ob_gzhandler can not be used twice. Use ob_get_level to check if output buffering is not already started. You may want additional logic that chec

Re: [PHP] ob_gzhandler bug???

2003-01-24 Thread Serge Paquin
I found the problem. It's a bug in PHP 4.3.0 and is fixed in CVS which I just confirmed... Serge. In article <007a01c2c3e1$bab70650$a629089b@TBHHCCDR>, "1lt John W. Holmes" <[EMAIL PROTECTED]> wrote: > Is output_handler set in your php.ini? > > ---John Holmes... -- PHP General Mailing List (

Re: [PHP] ob_gzhandler bug???

2003-01-24 Thread 1LT John W. Holmes
Is output_handler set in your php.ini? ---John Holmes... - Original Message - From: "Serge Paquin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 24, 2003 2:24 PM Subject: [PHP] ob_gzhandler bug??? > Here is a very simple APP to test my problem. Below you can see my

Re: [PHP] ob_gzhandler

2002-11-08 Thread Ernest E Vogelsinger
At 16:08 08.11.2002, Serge Paquin spoke out and said: [snip] >Yes their is always output. > >Also the way my system works if it finds a current cache file then it just >does "readfile" and no database connection. > >On that output I use ob_start("ob_gzhandle

Re: [PHP] ob_gzhandler

2002-11-08 Thread Serge Paquin
Yes their is always output. Also the way my system works if it finds a current cache file then it just does "readfile" and no database connection. On that output I use ob_start("ob_gzhandler") and it outputs compressed without an error so it seems that ob_gzhandler is working fine that's the pa

Re: [PHP] ob_gzhandler

2002-11-08 Thread Ernest E Vogelsinger
At 15:48 08.11.2002, Serge Paquin spoke out and said: [snip] >I get no output at all. > >All DoCache does is write $buffer to a file then return $buffer since I use >this for some other serverside caching to save on database hits. > >I have other areas that I

Re: [PHP] ob_gzhandler

2002-11-08 Thread Serge Paquin
I just realized that "mod_deflate" is for Apache 2. I am still on the Apache 1.3 tree so I don't beleive I can take advantage. - Original Message - From: "Ernest E Vogelsinger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, Novemb

Re: [PHP] ob_gzhandler

2002-11-08 Thread Serge Paquin
ginal Message - From: "Ernest E Vogelsinger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 08, 2002 4:00 AM Subject: Re: [PHP] ob_gzhandler > At 07:45 08.11.2002, Serge Paquin said: > [snip] > >Hel

Re: [PHP] ob_gzhandler

2002-11-08 Thread Ernest E Vogelsinger
At 07:45 08.11.2002, Serge Paquin said: [snip] >Hello, > >Is their anyway to use ob_gzhandler along with another callback? I've >tried the following which does not work: > >function DoCache($buffer) { >/* Do a bunch of stuff */ >return ob_gzhandl

Re: [PHP] ob_gzhandler encoding ???

2002-05-19 Thread Miguel Cruz
I doubt that'll work, as I don't think the gzhandler code will send gzipped data without a successful negotiation with the client (which can't happen at the command line). As others have suggested, the easiest way is probably to use lynx's --mime_header option. miguel On Sun, 19 May 2002, Jason

Re: [PHP] ob_gzhandler? (compression)

2002-05-19 Thread Miguel Cruz
Even Lynx does. miguel On Sun, 19 May 2002, Gerard Samuel wrote: > If Im not mistaken, all the current and recent Micro$oft, Netscape & > friends support it. > > Jason Caldwell wrote: > > >Is there a listing somewhere that shows which web browsers support > >"gz-encoded" web pages? > > > >Tha

Re: [PHP] ob_gzhandler? (compression)

2002-05-19 Thread Gerard Samuel
If Im not mistaken, all the current and recent Micro$oft, Netscape & friends support it. Jason Caldwell wrote: >Is there a listing somewhere that shows which web browsers support >"gz-encoded" web pages? > >Thanks >Jason > > > > > -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] ob_gzhandler and shtml files

2001-02-15 Thread Chris Lee
could accually be a browser issue. I know you can not compress an image and send it accross, even with the proper headers, no broswer seems to decompress it. try running a sniffer on the connection, make sure the proper headers are being sent, cut and paste the sniffers output, see if you can deco