Jump to content


Photo

htaccess password protection for multiple users


  • Please log in to reply
1 reply to this topic

#1 Mike521

Mike521
  • Members
  • PipPip
  • Member
  • 29 posts

Posted 19 November 2005 - 05:13 PM

hi all, is it possible to use htaccess password protection and send a user to a different file depending on their login credentials?

so user A would go to admin/userA.php and userB would go to admin/userB.php?

Or is it possible to send all users to a php script that simply registers their username in a global variable and then redirects them to "users.php" which then grabs their username and displays material accordingly?

Thanks :)

#2 Guest_footballkid4_*

Guest_footballkid4_*
  • Guests

Posted 23 November 2005 - 06:21 PM

I believe PHP can pick up what was entered using:
$PHP_AUTH_USERNAME




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users