Thursday, October 25, 2012

Re: Is it really neccessary to use h function on all fields?

It's up to you, but it's a good habit to use it. h is just a wrapper
for htmlspecialchars()

http://book.cakephp.org/1.3/view/1132/h

http://php.net/manual/pt_BR/function.htmlspecialchars.php

2012/10/25 Daniel <danwgrace@gmail.com>:
> Is it really neccessary to use the h function on int, boolean, date or
> calculated fields etc?
>
> --
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Find us on Twitter http://twitter.com/CakePHP
>
> ---
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to cake-php@googlegroups.com.
> To unsubscribe from this group, send email to
> cake-php+unsubscribe@googlegroups.com.
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
>
>

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.

No comments: