Page 1 of 1

BB Code

Posted: Fri Apr 22, 2011 6:51 pm
by lenton
I am making my own forum and it's pretty much done so far. I am however stuck when it comes to BB code.

How would I convert this (without dot):
[.url]http://example.org[/url]

into this:
<a href="http://example.org" target="_blank">http://example.org</a>

without any security holes?

Re: BB Code

Posted: Fri Apr 22, 2011 7:03 pm
by Christopher
You might want to look at this:

viewtopic.php?f=50&t=124469