Free To Feel

Heading to entrepreneur.


Joshua Chi
Github

How to use Security component in your application

The right way is generate all your filed use form helper.

For example, the following code will prevent your app woking .

<?php echo $form->create('User', array('action'=>'signup')); ?>
//....
</form>
But if you modify these codes into following,
<?php echo $form->create('User', array('action'=>'signup')); ?>
//....
<?php echo $form->end();?>
It work again!
comments powered by Disqus