News for hackers. Stuff that matters.
Re:How to write secure login scripts in PHP? by byoung2 on Saturday August 27, 2011 @08:37AM (#2931340)
If you don't feel like reinventing the wheel, look into using a framework like Zend that has this functionality built in. With Zend, you don't have to use the whole framework, you can just plug in the modules you need. Zend_Auth (http://framework.zend.com/manual/en/zend.auth.html) and Zend_Form (http://framework.zend.com/manual/en/zend.form.html) should do the trick. It will also handle escaping queries, setting cookies, hashing, etc.

There are no comments on this comment yet.