Hi, I have a MySQL database full of members of an organization with their passwords and other accompanying data. Is there a good PHP framework for a log-in system? I'd like something like what they do on yahoo, where you can browse the pages without logging in but you need to log in to access certain content.
+2
A:
Using a PHP framework is an excellent idea, however user authentication systems are not usually bundled with the frameworks themselves.
A PHP framework (like Symfony or CodeIgniter) can offer you some great features like: templating and layouts, automated validation, escaping of data to protect applications from attacks, cache management, smart URLs, e-mail and APIs, automated pagination, sorting, and filtering, plug-ins, ORM for databases, Internationalization etc etc.
Authentiaction is often seen as an extra and so is available as a plugin:
- Symfony uses an optional system called sfGuard and is in the form of a plugin
- CodeIgniter has several options for authentication detailed here. FreakAuth, Redux seem to be the market leaders here.
Jon Winstanley
2010-02-23 13:20:11