Answer by vector for Writing a proper (and simple) auth/login class in PHP
I'd also add validation of 'login', 'username' and 'password' before running the query.
View ArticleAnswer by Halil Özgür for Writing a proper (and simple) auth/login class in PHP
At the first look, no big hole shines through. Some points that can be considered, on the order of appearance:Instead of directly using the $_POST, you can take these as parameters, thus making it look...
View ArticleWriting a proper (and simple) auth/login class in PHP
How to write and design a simple (but still proper and secure) login class for PHP?Currently I'm checking whether there is a login request (user entered data into login form) or the session is already...
View Article
More Pages to Explore .....