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? 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']. Link to comment https://forums.phpfreaks.com/topic/90356-php-and-htaccess/#findComment-463271 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.