Quantcast
Channel: Writing a proper (and simple) auth/login class in PHP - Code Review Stack Exchange
Browsing latest articles
Browse All 3 View Live

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 Article



Answer 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 Article

Writing 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
Browsing latest articles
Browse All 3 View Live




Latest Images