
Welcome
This is the home page for the Discussion Forum. Users can either click Register or Logon and be taken to the appropriate page.
Register
The register form calls a php program that checks each form element to see if it has a valid entry. If there is anything missing a new page is loaded with all the valid information and text telling what the error is. Once the form is filled out correctly the php program generates a random confirmation code, enters the user information into a database and emails the user a link with the confirmation code attached. When the user clicks the links a confirmation flag is set in the database and the user can begin to post messages.
Logon
The user types in the user name and password he defined when he registered. The information is sent to a php program that checks to see if the user name and password matches information in the database. If it doesn't the user gets and error message. If there is a match a window appears where the user can type a message.
Post Message
The user types in a unique topic and then their name and a message. The form is sent to a php program the inserts the information into a database. A flag is set that tells the database it is a Main topic and a window with a confirmation message is opened. The user can post another message or view all the discussions.
View Discussions
If the user chooses to view all discussions a php program reads all the database discussion information and displays it in a window. Replies are indented and listed under the main topic. From here users can post a new message or reply to an existing topic. If they choose to reply a flag is set and the Post Message window displays with the Topic already inserted. When the user posts the message the information is written to the database with reply designation.