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? 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 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 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
Archived
This topic is now archived and is closed to further replies.