note 1634 modified in function.strip-tags by philip

From: Date: Fri, 21 Sep 2001 15:46:19 +0000
Subject: note 1634 modified in function.strip-tags by philip
Groups: php.notes 
Request: Send a blank email to php-notes+get-18148@lists.php.net to get a copy of this message
Regarding strip_tags(), the following seems to work pretty well as a substitute, like for php3.0.7 : <br> $userMessage = ereg_replace('<([^>]|\n)*>', '', $userMessage); <br> [ed. list solid alternatives to strip_tags()] http://www.php.net/manual/en/function.strip-tags.php

« previous php.notes (#18148) next »