ID: 11181 Comment by: boots-place329 at hotmail dot com Reported By: grisha at kasenna dot com Status: Bogus Bug Type: iPlanet related Operating System: Solaris 7 PHP Version: 4.0.5 New Comment:
<a href=http://quallity-russianboo.da.ru>place boots</a> Previous Comments: ------------------------------------------------------------------------ [2002-07-12 16:27:26] [EMAIL PROTECTED] Thank you for taking the time to report a problem with PHP. Unfortunately you are not using a current version of PHP -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. ------------------------------------------------------------------------ [2001-05-30 14:10:49] grisha at kasenna dot com Thanks, but this page is identical to http://www.php.net/manual/en/install.netscape-enterprise.php. I checked every line in obj.conf. PHP works fine, but authentification does not. ------------------------------------------------------------------------ [2001-05-30 05:53:07] [EMAIL PROTECTED] I'm not at all familiar with NSAPI, but maybe this article would help you: http://www.dotvoid.com/article_condensed.php?itemID=48 Try searching it for php4_auth_trans.. Please let me know if you succeed. --Jani ------------------------------------------------------------------------ [2001-05-29 22:48:47] grisha at kasenna dot com I'm using php 4.0.5 with iPlanet 4.1 and Solaris 7. THe simple PHP Authentication script, that works on the same machine with Apache does not work with iPlanet: if(!isset($PHP_AUTH_USER)) { Header("WWW-Authenticate: Basic realm=\"My Realm\""); Header("HTTP/1.0 401 Unauthorized"); echo "Enter User Name\n"; exit; } else { if(!isset($PHP_AUTH_PW)) { Header("WWW-Authenticate: Basic realm=\"My Realm\""); Header("HTTP/1.0 401 Unauthorized"); echo "Enter password\n"; exit; } else { if (($PHP_AUTH_USER!="user") || ($PHP_AUTH_PW!="password")) { Header("WWW-Authenticate: Basic realm=\"My Realm\""); Header("HTTP/1.0 401 Unauthorized"); echo "Not authorized\n"; exit; } } } It acts as if "Cancel" is pressed. PHP_AUTH_USER and PHP_AUTH_PW are not set after pressing "OK" button. I looked into $HTTP_SERVER_VARS array there is no HTTP_AUTH_USER or PHP_AUTH_USER there. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=11181&edit=1
