Re: [PHP] output compression and MSIE
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? Hi, You could try leaving the line an and add content-encoding headers like this meta http-equiv=content-encoding content=gzip (or an equiv. header() statement) Haven't tried that, but i see a chance that it works properly. Question is, if you let mod_gzip zip your pages, how to know when to send this header-directive. I'm quite sure about that IE is up to making troubles getting unzipped content with that header. regards mario -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] output compression and MSIE
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 heyho lucky one thought not anyone else would have that bug. it's a very nasty one (at least it was in my case) to figure out. i'd suggest looking for the content-type you are sending with. may it be it's a text/html or somewhat thislike? regards mario -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] output compression and MSIE
[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 [/snip] sorry list for the mess in this thread. got somewhat wrong. try to take the following line out: meta http-equiv=Content-Type content=text/html; charset=iso-8859-2 (modifing to output correct type would be even better) regards mario -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Yahoo Stuff.
On Tue, 2003-07-01 at 03:21, Rasmus Lerdorf wrote: Someone had subscribed [EMAIL PROTECTED] to php-general. I got rid of it. -Rasmus wow, that's really nasty btw, got this mail too. -- Mario Oberrauch --- CREATO - creative online systems - Spindler KEG Hafenstrasse 47 - 51, 4020 Linz, Austria Tel: +43 (0) 732/9015 5940 Fax: +43 (0) 732/9015 5949 Email:[EMAIL PROTECTED] --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Else If/Elseif
What is the difference between else if and elseif? Thanks quote of http://www.php.net/manual/en/control-structures.elseif.php In PHP, you can also write 'else if' (in two words) and the behavior would be identical to the one of 'elseif' (in a single word). The syntactic meaning is slightly different (if you're familiar with C, this is the same behavior) but the bottom line is that both would result in exactly the same behavior. therefore: a space :o) -- Mario Oberrauch --- CREATO - creative online systems - Spindler KEG Hafenstrasse 47 - 51, 4020 Linz, Austria Tel: +43 (0) 732/9015 5940 Fax: +43 (0) 732/9015 5949 Email:[EMAIL PROTECTED] --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] sending headers
Hi List I am having trouble using headers. I try to include a redirect header in my script, but is fails with the familiar ( headers already sent) error. I KNOW you should put the headers call where it will cause the first output, and I do that, the only thing happening infront of the headers call is an include statement to my main db class; this class has absolutely NO output unless a function is called (which it is not)... What am I missing? Hi too May be spaces/empty lines before/after ?php/? . -- Mario Oberrauch --- CREATO - creative online systems - Spindler KEG Hafenstrasse 47 - 51, 4020 Linz, Austria Tel: +43 (0) 732/9015 5940 Fax: +43 (0) 732/9015 5949 Email:[EMAIL PROTECTED] --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Sessions and login
... [shortened] Then I want the session to call authPage (because the pw is correct) together with the session variable. The way I am doing this (doesnt seem to be working) is to call authPage with as a header call eg: header(Location: authPage.php); The problem I think I am having is that the session variable isnt being passed to the authPAge. How else can I call the authPage from verifyPage so that the session variable gets passed. BTW I have register_globals = on; ... Hi try one of the following: - header(Location: authPage.php?. session_name() .=. session_id()); - enabling session.use_trans_sid in php.ini IMO latter is unpreferable. , mario -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php