longtone Posted November 4, 2008 Share Posted November 4, 2008 I want to password protect a feed for several users using htaccess, and serve different content for each user. Can I detect a user's username when they have logged in? I thought I might find it in the request headers , but it doesn't turn up in $_SERVER Or do I have to create a separate feed for each user? Quote Link to comment https://forums.phpfreaks.com/topic/131318-solved-detecting-username-in-http-protected-feed/ Share on other sites More sharing options...
corbin Posted November 4, 2008 Share Posted November 4, 2008 http://us3.php.net/features.http-auth Quote Link to comment https://forums.phpfreaks.com/topic/131318-solved-detecting-username-in-http-protected-feed/#findComment-681974 Share on other sites More sharing options...
longtone Posted November 4, 2008 Author Share Posted November 4, 2008 http://us3.php.net/features.http-auth Spot on Thanks Quote Link to comment https://forums.phpfreaks.com/topic/131318-solved-detecting-username-in-http-protected-feed/#findComment-681982 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.