Re: PHP_AUTH_USER not set?

From: Date: Fri, 14 Jul 2000 14:58:12 +0000
Subject: Re: PHP_AUTH_USER not set?
Groups: php.general 
Request: Send a blank email to php-general+get-6646@lists.php.net to get a copy of this message
>No, you definitely don't need any .htaccess stuff. In fact, this is most >likely your problem. If you configure Apache to do authentication via >.htaccess (or directly from your httpd.conf) then you can't use PHP to >authenticate on that same resource. It works for me on my other server and I _can_ use .htaccess there, with Apache, but NOT in the same folder of course if I want to use authentication with php. :) But the problem remains, why does $PHP_AUTH_USER and $PHP_AUTH_PW return empty and why can't you use authentication with php like you "used to"? In my case you only get the login-window and then all the authentications will fail and no user och pass is returned. I hope that you, Ed Klavins, have the same problem so you don't feel like I'm "taking over" this question. Thanks /Magnus Hammar

« previous php.general (#6646) next »