willfair Posted April 30, 2008 Share Posted April 30, 2008 Is it possible to pass the .htaccess username as a PHP variable? I use htaccess to secure my site and want to be able to use the htaccess username as a variable to post in a "last updated by:" field. Thanks for any help you can provide Link to comment https://forums.phpfreaks.com/topic/103576-solved-htaccess-info-as-a-php-variable/ Share on other sites More sharing options...
p2grace Posted April 30, 2008 Share Posted April 30, 2008 $_SERVER['PHP_AUTH_USER'] Link to comment https://forums.phpfreaks.com/topic/103576-solved-htaccess-info-as-a-php-variable/#findComment-530400 Share on other sites More sharing options...
willfair Posted April 30, 2008 Author Share Posted April 30, 2008 worked like a champ, thank you for your assistance Link to comment https://forums.phpfreaks.com/topic/103576-solved-htaccess-info-as-a-php-variable/#findComment-530702 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.