Kohana input & validation libraries - overlap?
Posted
by keithjgrant
on Stack Overflow
See other posts from Stack Overflow
or by keithjgrant
Published on 2010-04-13T15:21:24Z
Indexed on
2010/04/13
15:23 UTC
Read the original article
Hit count: 325
I'm familiarizing myself with Kohana. I've been reading up on the Input library, which automatically pre-filters GET and POST data for me, and the Validation libary, which helps with form validation.
Should I use both together? The examples given in the Validation library documentation use the unfiltered $_POST
array instead of $this->input->post()
. Seems to me it would be more secure to chain the two, but the two sets of documentation seem to make no mention of each other, so I don't know if this would be redundant or not.
© Stack Overflow or respective owner