Welcome Guest, Not a member yet? Register   Sign In
Filtering input - controller or model?
#5

[eluser]techgnome[/eluser]
Well for the item Id and the text, validate using the form_validation. It's in the User Guide.

For the user being logged in, wouldn't it be better to first check for that before allowing them to comment? That way your add comment process only runs for logged in users.

-tg


Messages In This Thread
Filtering input - controller or model? - by El Forum - 12-04-2010, 04:41 PM
Filtering input - controller or model? - by El Forum - 12-04-2010, 11:27 PM
Filtering input - controller or model? - by El Forum - 12-06-2010, 04:58 AM
Filtering input - controller or model? - by El Forum - 12-06-2010, 06:49 AM
Filtering input - controller or model? - by El Forum - 12-06-2010, 08:43 AM
Filtering input - controller or model? - by El Forum - 12-06-2010, 08:45 AM
Filtering input - controller or model? - by El Forum - 12-06-2010, 10:18 AM
Filtering input - controller or model? - by El Forum - 12-07-2010, 08:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB