[thelist] Unecoding Posts to Forums
Tim Fountain
tim at incutio.com
Sat Sep 6 11:31:05 CDT 2003
On Friday, September 5, 2003 at 17:07, Rob wrote:
> I'm using a forum for a graduate school and its encoding all I write
> into its html equivalents.
> Is there some way I can get it to post exactly as I write it
Is this a forum system you've written yourself? If so, you need to
convert back any HTML tags you want to allow. E.g.:
$post = preg_replace("'<li>(.*?)</li>'",'<li>\\1</li>',$post);
Otherwise, it sounds like the forum system you're using doesn't allow
HTML in posts, so no, there's nothing you can do. Just check the docs
to make sure this is correct.
--
Tim Fountain | Web developer | Incutio Limited | www.incutio.com
email: tim at incutio.com | Tel: +44 8708 700 333 | Fax: +44 7092 181 581
More information about the thelist
mailing list