note 114566 added to function.strip-tags
| From: | andy | Date: | Thu, 06 Mar 2014 15:33:40 +0000 |
| Subject: | note 114566 added to function.strip-tags | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198818@lists.php.net to get a copy of this message | ||
<?php
//*** Universal prevent xss ***
// place this in top of script to prevent xss on your site
$_GET=array_map("strip_tags",$_GET);
$_POST=array_map("strip_tags",$_POST);
?>
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/function.strip-tags.php
Edit -- https://master.php.net/note/edit/114566
Del: integrated -- https://master.php.net/note/delete/114566/integrated
Del: useless -- https://master.php.net/note/delete/114566/useless
Del: bad code -- https://master.php.net/note/delete/114566/bad+code
Del: spam -- https://master.php.net/note/delete/114566/spam
Del: non-english -- https://master.php.net/note/delete/114566/non-english
Del: in docs -- https://master.php.net/note/delete/114566/in+docs
Del: other reasons-- https://master.php.net/note/delete/114566
Reject -- https://master.php.net/note/reject/114566
Search -- https://master.php.net/manage/user-notes.php