Creating Bulletin Boards
Creating a simple CGI message board
The HTML Templates
The Bulletin Board Script
Displaying the Message List
Displaying Messages
Adding New Messages
Adding Replies
Expiring Messages
The Complete Bulletin Board Script


[Next]


Creating Bulletin Boards

In this article, you develop this text file based bulletin board CGI script that enables you to have a bulletin board on your Web site. Your bulletin board will display a list of all messages that have been posted and will allow visitors to your Web site to read any message simply by clicking on its subject. When the user clicks on the message subject, your bulletin board script formats the messages into HTML code for display in the user's Web browser. Visitors can also add new messages or reply to other messages using HTML form interfaces you create. When a user posts a new message or a reply, the bulletin board script saves the message in a text file. Also, your bulletin board script automatically deletes messages when they have been posted for longer than a specified number of days.



[Next]