Re: Strip HTML codes from a string?
| From: | John Vanderbeck | Date: | Sat, 17 Feb 2001 17:35:19 +0000 |
| Subject: | Re: Strip HTML codes from a string? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40365@lists.php.net to get a copy of this message | ||
Ok, ignore me. I'm an idiot.. I just found the striptags() fucntion.
- John Vanderbeck
- Admin, GameDesign
----- Original Message -----
From: "John Vanderbeck" <agathorn@cfl.rr.com>
To: <php-general@lists.php.net>
Sent: Saturday, February 17, 2001 12:33 PM
Subject: [PHP] Strip HTML codes from a string?
> I'm really crappy with regex's, and I can't find a good tutorial on using
> them , and all the syntaxes. What I need to do is strip all HTML tags
from
> a string.
>
> This is from a form, where a user can submit comments on things, but I
need
> to strip the HTML out, in case anyone tries to abuse it :)
>
> - John Vanderbeck
> - Admin, GameDesign
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>