Login redirect PHP script
===

I am looking for a Login redirect PHP script to download. What I need is a PHP script which will redirect users to their own directory (page) based on their login credentials. Admin page with the option to add users should be included in this script. Is there any working script out there?

Thank you!