zb10948 Posted February 10, 2008 Share Posted February 10, 2008 Here's a quick one. If i have several user:pass combinations in .htpasswd, can PHP script, that has been folder-protected by the contemporary .htaccess, determine what user has logged in? Quote Link to comment https://forums.phpfreaks.com/topic/90356-php-and-htaccess/ Share on other sites More sharing options...
trq Posted February 10, 2008 Share Posted February 10, 2008 I believe your looking for $_SERVER['PHP_AUTH_USER']. Quote Link to comment https://forums.phpfreaks.com/topic/90356-php-and-htaccess/#findComment-463271 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.