Re: Guestbook question
| From: | Joe Stump | Date: | Sun, 22 Oct 2000 09:28:50 +0000 |
| Subject: | Re: Guestbook question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21629@lists.php.net to get a copy of this message | ||
strip_tags($msg);
--Joe
On Sun, Oct 22, 2000 at 11:00:20AM +0200, Emiel Theloosen wrote:
> Hello,
>
> When I have my guestbook that works with a form (the message field is a
> textarea named msg), I need to filter out the html things.
>
> The only thing I need to know, is:
> When I have a text, in a variable $msg how can I filter out all things
> between < and >
> So I need a structure that filters the HTML commands.
>
> Emiel Theloosen
>
>
> --
> 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
/*****************************\
* Joe Stump *
* www.Care2.com *
* Office: 650.328.0198 *
* Extension: 122 *
\*****************************/
http://www.miester.org/Joe/Stump/Joe_Stump_resume.html
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GB/E/IT d- s++:++ a? C++++ UL++$ P+ L+++$ E----! W+++$
N+@ o? K? w---! O-@ M+@ V-! P(++) PE(+) Y+@ PGP+++@ t+@
5? R-! tv@ b+ DI++@ D(++++) G++@ e+@ h@ r+! z(+++++**)!
------END GEEK CODE BLOCK------