Re: [PHP-DEV] Implementing support for HTTP Digest Authorization in PHP

2005-03-29 Thread LacaK
Patch is necessary :-))) Rui Hirokawa wrote: I checked this problem again, and I found getallheaders() can have "authorization" even if safe_mode is "On". So, $_SERVER['PHP_AUTH_DIGEST'] in my patch is not necessary to use with PEAR::Auth_HTTP and Apache. I am not sure it is useful or not with ano

Re: [PHP-DEV] Implementing support for HTTP Digest Authorization in PHP

2005-03-29 Thread LacaK
Great ! So we can except, that this patch wil be included in main distribution of PHP (as core component) ? Rui Hirokawa wrote: > HTTP Digest Authorization is supported by PEAR::Auth_HTTP. > But, as you said, it cannot be used when safe_mode = On. > > To solve this problem

Re: [PHP-DEV] Implementing support for HTTP Digest Authorization in PHP

2005-03-28 Thread Rui Hirokawa
I checked this problem again, and I found getallheaders() can have "authorization" even if safe_mode is "On". So, $_SERVER['PHP_AUTH_DIGEST'] in my patch is not necessary to use with PEAR::Auth_HTTP and Apache. I am not sure it is useful or not with another SAPI such as ISAPI. Rui > > HTTP Dig

Re: [PHP-DEV] Implementing support for HTTP Digest Authorization in PHP

2005-03-26 Thread Rui Hirokawa
HTTP Digest Authorization is supported by PEAR::Auth_HTTP. But, as you said, it cannot be used when safe_mode = On. To solve this problem, I made a simple patch based on your suggestion based on php5 CVS HEAD. Applying this patch, we can access $_SERVER['PHP_AUTH_DIGEST'] , w