RE: [PHP] Starting a Forum?!
| From: | James Moore | Date: | Mon, 02 Apr 2001 16:01:24 +0000 |
| Subject: | RE: [PHP] Starting a Forum?! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46633@lists.php.net to get a copy of this message | ||
> Hi...
>
> I'm starting a forum, but I have one problem..
>
> 1. Is there a easy way to ignore/don't take HTML/php tags inside a post..
>
> e.g someone echo's $mysql_password/username?
> or something else...
>
> include, require etc...
take a look at http://www.php.net/manual/en/function.htmlspecialchars.php
and http://www.php.net/manual/en/function.htmlentities.php
Cheers,
James