Re: [PHP] zlib.output_compression

2005-07-13 Thread LacaK
ssible set zlib.output_compression from On /*in php.ini*/ to Off /*using ini_set()*/, but not from Off to On ? Thanks LacaK. Mikey wrote: LacaK wrote: Thanks for reply, In documentation is stated, than "zlib.output_compression" is changeable at PHP_INI_ALL. If there is no possibi

Re: [PHP] zlib.output_compression

2005-07-12 Thread LacaK
33653 , but [EMAIL PROTECTED] market is as Bogus I still think, that it does not work as expected. LacaK. Jasper Bryant-Greene wrote: LacaK wrote: Yes, my browser send "Accept-Encoding: gzip,deflate" When I alter : "zlib.output_compression=on" in php.ini it works fine !

Re: [PHP] zlib.output_compression

2005-07-12 Thread LacaK
of course I have removed ob_start(...) david forums wrote: do not forget to remove ob_start, also you'll make double compression regards Le Tue, 12 Jul 2005 12:29:02 +0200, LacaK <[EMAIL PROTECTED]> a écrit: Thank you, I know this technique : ob_start('ob_gzhan

Re: [PHP] zlib.output_compression

2005-07-12 Thread LacaK
Yes, my browser send "Accept-Encoding: gzip,deflate" When I alter : "zlib.output_compression=on" in php.ini it works fine ! Only runtime alter : ini_set('zlib.output_compression', true); does not work !? LacaK. M. Sokolewicz wrote: Is your browser sending an acc

Re: [PHP] zlib.output_compression

2005-07-12 Thread LacaK
t understand, why it does not works ? I have reported it as a bug ... LacaK. Jasper Bryant-Greene wrote: To turn it on: ob_start('ob_gzhandler'); To turn it off: while(@ob_end_clean()); header('Content-Encoding: identity'); -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] zlib.output_compression

2005-07-11 Thread LacaK
I see contents using Network Monitor, so I se response header and contents andthey are uncompressed, so somresion does not uccured. It's likely the browser is uncomressing it before you ever see it. I would telnet to port 80 and make an HTTP request to see for sure. -- PHP General Mailing L

[PHP] zlib.output_compression

2005-07-11 Thread LacaK
Can anyone help me with this question : when I write script like this : page displays, that zlib.output_compression is On, but realy is not compresed (is send only like text/html) Is possible to turn on compression (enable) in user script (using ini_set), or only disable ini_set('zlib.outpu

Re: [PHP] Authorization header is missing from apache_request_headers() array

2005-03-21 Thread LacaK
Richard Lynch wrote: I could be *WAY* wrong, but I thought nobody ever bothered with Digest Auth because, e. It's not better/safer than HTTP Auth? "HTTP Basic Authorization" send login:password in clear text (only base64 encoded) so it can be 'eavesdropped' in "HTTP Digest Authorization" p

[PHP] Re: http authentication with safe mode enabled?!

2005-03-20 Thread LacaK
Yes, documentation says : "If safe mode is enabled, the uid of the script is added to the realm part of the WWW-Authenticate header. " and second : "The HTTP Authentication hooks in PHP are only available when it is running as an Apache module and is hence not available in the CGI version" and als

[PHP] Authorization header is missing from apache_request_headers() array

2005-03-20 Thread LacaK
\"auth\""); browser returns in HTTP request Authorization header like this one : Digest username="lacak", realm="www.myrealm.com", qop="auth", algorithm="MD5", uri="/devel/phpinfo.php", nonce="5e8ac9b033001458fc5380d8a88325a2&quo

Re: [PHP] Memory exhausted message wrong

2005-03-20 Thread LacaK
Only try -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: http authentication with safe mode enabled?!

2005-03-20 Thread LacaK
Hello Roman, yes if safe_mode=on then Authorization header is hidden from phpinfo() and apache_request_headers(), but variables $_SERVER["PHP_AUTH_USER"] and "PHP_AUTH_PW" are set , when Basic authorization is used ! (it works in my configuration of Apache and PHP) Problem may be in Apache . Whe

[PHP] apache_request_headers() does not return HTTP Authorization headers

2005-03-20 Thread LacaK
if safe_mode=on so there is no possibilty to validate HTTP Digest Authorization ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: detecting a leading hyphen from post data

2005-03-20 Thread LacaK
sorry correct is : if (strpos($string,"-")===0) //3*= exact match, first char is index 0 not 1 ! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [suspicious - maybe spam] detecting a leading hyphen from post data

2005-03-20 Thread LacaK
try use : if (strpos($string,"-")==0) //first char is index 0 not 1 ! or if (strpos($string,"-")!==false) //find anywhere in string -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] pache_request_headers() does not return HTTP Authorization headers

2005-03-20 Thread LacaK
if safe_mode=on so there is no possibilty to validate HTTP Digest Authorization ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] apache_request_headers() does not return HTTP Authorization headers

2005-03-18 Thread LacaK
this header is not included in apache_request_headers() I thing, that is a bug ... or can anyone help ? Thank you LacaK. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php