I was looking around for a hack to limit how large users can make their text size via the vb [SIZE] tag.
I was looking at the preg_replace() function (
http://us4.php.net/manual/en/function.preg-replace.php ).
I'm not sure what to do because the size tag can be done in two different ways making the replace statement more difficult:
PHP Code:
[SIZE=4]Blah[/SIZE]
[SIZE=+4]Blah[/SIZE]
Size=4
Size=+4
Any help would be appreciated. Size=100 in signatures gets old quick.
Thanks!