PHP User Auth
A simple user authentication system built with PHP Basic Framework as an example project.
Not intended for production use.
About
- User registration
- Basic Login / Logout functionality using native
$_SESSION
super global - CRUD operations
- Page access restrictions for users/guests
Database Schema
CREATE TABLE `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(128) NOT NULL,
`email` varchar(128) NOT NULL,
`password` varchar(128) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1