Re[2]: [PHP] output compression and MSIE

2003-07-09 Thread sebab
Hi,

I'm shocked. It seems it works! However.. My pages without forcing ISO
8559-2 don't look good. What to use instead so?

--
Best regards,
Sebastian

Tuesday, July 8, 2003, 3:55:43 PM, you wrote:
MO [snip]
 My head looks like that - nothing special..
 
 head
 LINK href=/css/main.css rel=stylesheet type=text/css
 TITLESome title/TITLE
 meta http-equiv=Content-Type content=text/html; charset=iso-8859-2
 script language=JavaScript 
 src=/javascripts/date_picker/date_picker.js/script
 /head
MO [/snip]

MO sorry list for the mess in this thread. got somewhat wrong.

MO try to take the following line out:
MO meta http-equiv=Content-Type content=text/html; charset=iso-8859-2
MO (modifing to output correct type would be even better)

MO regards
MO mario


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re[2]: [PHP] output compression and MSIE

2003-07-08 Thread sebab
Hello,

Good to see someone else met that feature of MS Internet
Exploder ;)

At really I don't put any headers with content info.
Only headers are:

 header ('Last-Modified: '.gmdate(D, d M Y H:i:s).' GMT');
 header ('Expires: '.gmdate(D, d M Y H:i:s).' GMT');
 header ('Cache-Control: no-cache, must-revalidate');
 header ('Pragma: no-cache');

And output is simple HTML. What should I do so? Should I send any
other header to fix that?

And I also spent a lot of time wondering why the hell I get blank page
sometimes?. Especially it was working good on one server and buggy
on another (now I now, another server had compression turned off).

--
Best regards,
Sebastian

Tuesday, July 8, 2003, 2:41:28 PM, you wrote:
 Hello,
 
 I've found problem with MSIE showing sometimes blank page when
 compression is turned on (no matter using zlib.output_compression or
 gzip handler). I've found that happens when page is =4096 bytes long
 (output in HTML). And this suggested me to try to change buffer size
 for compression (for zlib, that I was using) cause it was set to
 exactly 4KB. But that didn't help at all :-( If I add space characters
 at the end of output to let page grow ower 4096 bytes - everything
 works fine, else MSIE shows blank page and user has to hit Refresh
 button to see correct page. With other browsers that problem doesn't
 happen.
 
 Do you have any idea how to solve that? BTW - changing browser or
 doing anything with user system is not good idea for me, cause I can't
 force users of my application to do anything - they use (and will use)
 windows+IE and so that's my problem to find solution. And output
 compression is a MUST for me cause I have to cut network traffic to
 lower users costs of using internet (GPRS transmission using mobile
 phones).
 
 Big thanks in advance for any help
 
 Sebastian Baran

MO heyho lucky one

MO thought not anyone else would have that bug. it's a very nasty one (at
MO least it was in my case) to figure out. i'd suggest looking for the
MO content-type you are sending with. may it be it's a text/html or
MO somewhat thislike?

MO regards
MO mario


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php