2.5. Code and Code Explanation

The majority of the code that builds the forum application is contained in x files. add_forum.php is the administrative interface to add new forums. It should be protected from unauthorized use by including the 401.php file. The files to provide user functionality are add_post.php and view.php.

Get PHP and MySQL®: Create-Modify-Reuse now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.