note 41562 deleted from function.strip-tags by tomsommer

From: Date: Wed, 14 Apr 2004 21:11:48 +0000
Subject: note 41562 deleted from function.strip-tags by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-68134@lists.php.net to get a copy of this message
Note Submitter: sbeaulieu@hoskinARF.ca W/O ARF ---- If you only want to protect from people inserting html tags or php code in your DB, why not only use: <?php function replaceHtmlMachin($str) { $return = str_replace("<", "lessthan", $str); return $return; } ?> so its really fast and nothing will work.

« previous php.notes (#68134) next »