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
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
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 (
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
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
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
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
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
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
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
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
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
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
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
14 matches
Mail list logo