[eluser]zauber[/eluser]
[quote author="Michael Wales" date="1198103376"]If you use validation, the following three will all be equal:
Code:
$_POST['var'];
$this->input->post('var');
$this->validation->var;
Without validation, omit the 3rd line.[/quote]
The docs say, regarding the input class, that it:
Quote:...Filters the POST/COOKIE array keys, permitting only alpha-numeric (and a few other) characters...
On the other hand, no mention of this filtering appears together with the description of the input->post() function, so perhaps it's something that's done at construction time.
I suppose it doesn't matter unless I want to:
foreach($_POST as $key=>$val){...do something irresponsible with $val }
...which I of course wouldn't