Re: Alternative to stripslashes(htmlentities($textstring))
| From: | holmes072000 at charter dot net | Date: | Wed, 07 Apr 2004 00:49:54 +0000 |
| Subject: | Re: Alternative to stripslashes(htmlentities($textstring)) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182578@lists.php.net to get a copy of this message | ||
> From: gohaku <gohaku@earthlink.net>
> I was just curious if there is another function that
> does the same job as stripslashes(htmlentities($textstring)).
Nope. Do it that way.
Or you can turn off magic_quotes_gpc, which is probably the reason you have to run stripslashes().
---John Holmes...