Welcome Guest, Not a member yet? Register   Sign In
Getting all POST data with the input class?
#1

[eluser]Nick Jennings[/eluser]
Hi All,

I'd like to easily get all post data in an array, and run through the XSS filters. I was wondering if I could do this somehow with the $this->input->post() function? Or must I grab $_POST directly and put it through the filtering myself? That way isn't a problem really, I was just curious if there was a supported way to do this.

Thanks for any tips.
-Nick
#2

[eluser]tomcode[/eluser]
If You set the global_xss_filtering property in config.php to true, all $_POST is run through the XSS filters.




Theme © iAndrew 2016 - Forum software by © MyBB