I'm almost done writing a forum in PHP that's similar to 2ch-style BBSes; it uses MySQL for the posts/users with some flat file access for some other things. It's not feature-complete--things like the admin panel aren't done--but I can shoot you a copy if you're interested.