note 58226 deleted from function.stripslashes by philip

From: Date: Wed, 07 Feb 2007 04:55:40 +0000
Subject: note 58226 deleted from function.stripslashes by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-123011@lists.php.net to get a copy of this message
Note Submitter: aescomputer AT yahoo DOT com ---- I was inspired by sam's code to use it to strip tags into rendered info by making < and > into '&lt; and &gt; respectively: // clean url attributes of html tags if(!empty($_REQUEST)){ foreach($_REQUEST as $x => $y){ $_REQUEST[$x] = str_replace('<', '&lt;', str_replace('>', '&gt;', $y)); } }

« previous php.notes (#123011) next »