GPC cleaner.. safe procedure..
Hi
OK, I'm using the input cleaner to protect from sql inserts, etc.
But I'm clearly missing something.
I am using NOHTML to clean a text area input through $_POST.
But if i were to enter an ' in the text area it breaks the SQL, unless I use a $db->escape_string(....) function on it.
Is there a different way I'm supposed to use the cleaner?
Could someone please give me a definitive procedure for cleaning text input prior to entering it into the db?
cheers
|