/ Published in: PHP
Secure, Advanced, Better, Faster... function for remove/strip tags(Anti-XSS).
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function _Strip_Tag($Str_Input) { $_Ary_TagsList= array('jav
ascript:', 'jav
ascript:', 'jav	ascript:', '<!-', '<', '>', '%3C', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '<', '\x3c', '\x3C', '\u003c', '\u003C', chr(60), chr(62)); ', '', $Str_Input); return((string)$Str_Input); }
URL: http://www.ypy.ir