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 Quote Link to comment Share on other sites More sharing options...
p2grace Posted April 30, 2008 Share Posted April 30, 2008 $_SERVER['PHP_AUTH_USER'] Quote Link to comment 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 Quote Link to comment 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.