News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Chris Hartjes' Blog:
Simple User Registration in CakePHP 1.2
January 10, 2008 @ 12:09:00

Chris Hartjes has posted a tutorial about the creation of a simple user registration system in an application developed in the CakePHP framework. In response to the popularity of his other article on using CakePHP's Auth component, he's created a bit of code to answer some questions.

People have been having some questions about how the password is hashed and questions about a user registration system. Of course, the snarky response is "go and read the source for Security::Hash() and create some of your own code", but it is easier to just give people some code so they stop asking.

His example code extends the User object for the model, makes a controller with a register() method call and creates the username/password form for the user the enter in their information.

2 comments voice your opinion now!
user registration cakephp framework example auth component user registration cakephp framework example auth component


blog comments powered by Disqus

Similar Posts

Alexander Netkachev's Blog: 404 error with Zend Framework Front Controller

Zend Developer Zone: Lifting the Skirt on Zend Framework 1.5: Zend_Auth and the OpenId Adapter

Jake Blauzier's Blog: Event-Based AJAX Framework for PHP

Felix Geisendorfer's Blog: MacGyver menu for CakePHP - What's the active menu item?

Felix Geisendorfer's Blog: How to oraganize your CakePHP App's Javascript II


Community Events











Don't see your event here?
Let us know!


code component series install unittest framework composer language podcast symfony2 hack security release package opinion introduction application hhvm facebook threedevsandamaybe

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework