Welcome Guest, Not a member yet? Register   Sign In
form data and output
#1

[eluser]Treeda[/eluser]
Hey guys,

maybe a stupid question but how do you handle outputting user entered data?

for example, user enteres data, you all put that stuff through validation.
but anyways, for security reason if you read some data from the database which was previously entered by a user you should put a htmlentities around the data before you output it.

how you handle that? is there a way codeigniter can help here?

in my old developments i've always implemented a function on my own which can do a normal htmlentities on a string but also can walk recursivly through an array (in the case i want to output an whole row to a template)

I'am realy eager to see how others handle that?


Messages In This Thread
form data and output - by El Forum - 03-27-2009, 05:43 PM
form data and output - by El Forum - 03-27-2009, 06:06 PM
form data and output - by El Forum - 03-27-2009, 06:08 PM
form data and output - by El Forum - 03-27-2009, 06:10 PM
form data and output - by El Forum - 03-27-2009, 06:25 PM
form data and output - by El Forum - 03-27-2009, 06:33 PM



Theme © iAndrew 2016 - Forum software by © MyBB