Content management: Command Class
James Dziak (contact me)
Class that uses your database to manage your main include files using a command/sub-command method. With this you only need one index.php in your document root and the rest of your files can be outside it. This will allow you to dynamically change which page is included based on a commmand/sub-command variable. It also allows for a high level of error checking.
Click here for detailed information about this class on phpclasses.org
Class
Command Class Source