note 13938 added to function.ob-gzhandler.php
| From: | empx at gmx dot de | Date: | Wed, 11 Jul 2001 01:05:57 +0000 |
| Subject: | note 13938 added to function.ob-gzhandler.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15196@lists.php.net to get a copy of this message | ||
i have noticed very strange behaviour too... when i first load my page it worx, when i klick on
refresh i get a blank screen, when i look at the source there is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>;
<META content="text/html; charset=windows-1252"
http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>
Heres the source of the page:
<?
ob_start("ob_gzhandler");
echo("xxxxxxx");
ob_end_flush();
?>
and...the compression doesnt seem to work at all
when i connect to localhost with telnet and enter
GET /test.php HTTP/1.0
Accept-Encoding: gzip
i get the page, but i still can see xxxxx and not an encoded string :/
sorry im a newbie to this...but either i did something wrong or this output compression doesnt work
correct :/
btw i use w2k IIS 5 and php 4.0.6 installer...
i hope someone can help me.
Thanks.
http://www.php.net/manual/en/function.ob-gzhandler.php