Welcome Guest, Not a member yet? Register   Sign In
Safe way to get rid of "[removed]" and global xss_clean
#3

[eluser]Thorpe Obazee[/eluser]
[quote author="Mareshal" date="1245453619"]
Is safer using xss_clean global enabled or xss_clean($_POST) ?[/quote]

Probably safer to use global as you don't need to remember everytime (you might forget). Anyway, they're basically the same thing.

[quote author="Mareshal" date="1245453619"]
After xss_clean how can I get rid of [removed] tags?
Code:
str_replace("[removed]", "", $_POST)
Would this code be a safe way?[/quote]
You can always modify it if you want.


Messages In This Thread
Safe way to get rid of "[removed]" and global xss_clean - by El Forum - 06-19-2009, 12:20 PM
Safe way to get rid of "[removed]" and global xss_clean - by El Forum - 06-20-2009, 12:36 PM
Safe way to get rid of "[removed]" and global xss_clean - by El Forum - 06-21-2009, 08:05 PM
Safe way to get rid of "[removed]" and global xss_clean - by El Forum - 06-21-2009, 10:49 PM
Safe way to get rid of "[removed]" and global xss_clean - by El Forum - 06-21-2009, 11:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB