![]() |
htmlentities, stripslashes etc - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: htmlentities, stripslashes etc (/showthread.php?tid=48213) |
htmlentities, stripslashes etc - El Forum - 01-08-2012 [eluser]UnknownPlayer[/eluser] Hi, should i use mysql_real_string_escape on fields when i insert in db, becouse i use xss_clean ? i use htmlentities($var,ENT_QUOTES, UTF-8), i need sugestion, should i use ENT_QUOTES or something else when echo ? (this doesn't need to be used on input tags?) And on echo i need to use stipsplashes when magic quotes are off ? Anyway, i use latin characters like čćšžđ, so can you tell me what is best to use of these settings htmlentities, stripsplashes or ? |