The typical way that forums handle this is to use what is called "BBCode". In short, you have a non-HTML way for users to supply information that will produce markup instead of just plain text. So if you want to allow italics, bolds, URL's, etc. then you have some codes for it like:

[i]This text will be in italics.[/i]
[b]This text will be in bold.[/b]
[url=http://php.net]This will be a URL that points to php.net.[/url]

Mailing archives probably have some code that does this... or you could see what the maintainers of phpBB do under the hood. Ah, the beauty of Open Source!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to