Code:
$bbcode = strip_tags(unhtmlspecialchars($bbcode));
Our board is a grab together of several older boards and it contains quite some HTML. I've been busy with a text stripper from vb.com to edit it out (should make this always on processing step obsolete and would reduce database size a little bit, but it didn't work out that great). The database is way too big to edit it out by hand, and a script would even timeout because of the PHP/Apache settings. There was a rebuild thread tool in another board we used and thus I wonder whether it's possible to have a html stripper thead tool: get rid of old html in the database and avoid timeouts while doing so because of huge queries, because you only order one thread at a time to be cleaned.