Password authentication in PHP
I am in need of a good, free password authentication system for PHP, or failing that, some good instructions on how to make my own. All I need is a way to make you log in to view certain pages, a way to distinguish admins from regular users (for the purpose of password creation), and a way to create/modify/remove users/passwords. A logout function would be nice, but it's not a neccessity. Non-authenticated users should not be able to access protected pages.
I've done a little bit, and got something that kind of works, but it's bulky, and poor quality, but this is going to be on a production system so I need something better.
Thanks
------------------
Despite the high cost of living, it remains popular.