Welcome Guest, Not a member yet? Register   Sign In
What do you do with html injections?
#7

[eluser]PhilTem[/eluser]
That's the easiest method. But be careful with htmlentities' arguments. If you have set your pages' and datbase's charset to UTF-8 then you will get strange output from htmlentities since

Quote:If omitted, the default value for this argument is ISO-8859-1 in versions of PHP prior to 5.4.0, and UTF-8 from PHP 5.4.0 onwards
(from php.net)


Messages In This Thread
What do you do with html injections? - by El Forum - 03-21-2012, 12:15 PM
What do you do with html injections? - by El Forum - 03-21-2012, 12:43 PM
What do you do with html injections? - by El Forum - 03-21-2012, 01:41 PM
What do you do with html injections? - by El Forum - 03-21-2012, 01:48 PM
What do you do with html injections? - by El Forum - 03-22-2012, 12:26 AM
What do you do with html injections? - by El Forum - 03-22-2012, 09:37 AM
What do you do with html injections? - by El Forum - 03-23-2012, 02:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB