You could always use PHP as well.
With PHP, it is eaiser to communicate with just about any type of database, and in most cases, mysql is the most common.
If you are on a server with limited capabilities (i.e., no php or mysql), then Perl/CGI is the way to go.
However, like goBoating said, text files are somewhat limited in their ability to perform as a sufficient database, and are a lot less secure than a mysql file.
I also suggest that you do not write your own forum since there are thousands of powerful ones out there.
You can try the UBB (Ultimate Bulliten Board, I belive) from
It might cost some money for the full one, but a smaller version might just be what you are looking for.
Hope this helps,
-Vic vic cherubini
vikter@epicsoftware.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
====