note 98600 deleted from function.strip-tags by danbrown

From: Date: Fri, 25 Jun 2010 14:24:12 +0000
Subject: note 98600 deleted from function.strip-tags by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-170426@lists.php.net to get a copy of this message
Note Submitter: givemespam at wibblywobblyteapot dot co dot uk ---- Only one issue with php at wizap dot com function below, if you feed it some text with a single less than on its own in the file, it causes the server to max out and time out with a warning around this line: $x = substr($s,$pos[1],$len[1]); Not looked at the why, but on an apache server if you opened up a handful of tabs where this function was present, and fed them all a single < it would probably crash/DoS it.

« previous php.notes (#170426) next »