Hi there all,
I have just joined these forums and am a relative newbie to PHP, so please bear with me 🙂
The question I have is this:
How can I set up a fairly simple PHP authentication system to do the following:
Add/manage/delete users from an admin section.
Allow those users to login from one login screen with username/pwd and then be redirected to their respective folder.
See, the users are going to be visiting my site and at the members.php page they will log in with their details and the system will know that member1 login must redirect to member1 folder and member2 to member2 folder and so on. The admin console should allow me to specify the path to the members home directory (it's a bit like the unix file/user system really)
This must not allow one user to view another user's folder - it must simply redirect to the correct member's folder.
I have looked at php.net and hotscripts.com and have neither found a script that does this, nor found a way I can understand on how to create it myself.
Does anyone know what I need to do, or if there is a script out there that does it for me, or that I can alter to do this?
Any help is greatly appreciated.
Jonathen