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
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
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
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
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
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
Only try
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
\"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
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
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
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
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
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
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
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
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 !
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
17 matches
Mail list logo