mikepurvis
08-26-2004, 10:14 PM
phpMyAdmin, phpBB and vBulletin all have separate files for each action. (showthread, viewforum, etc...)
But I've seen some sites that have one single index.php file so that every uri looks like www.mydomain.com/?action=xx
Does doing it this way put more strain on the parser? Is there a better or worse way, or is it just preference?
The reason I ask is that in both of the 'forum' situations, the pages are made to be identical by having an included header.inc and footer.inc. But in a situation where I've got a sidebar with a wrapper div and container div and whatever, it's less convenient for making consistent pages.
What's the correct course of action?
(the layout page is this: http://kitchencss.uwmike.com/)
But I've seen some sites that have one single index.php file so that every uri looks like www.mydomain.com/?action=xx
Does doing it this way put more strain on the parser? Is there a better or worse way, or is it just preference?
The reason I ask is that in both of the 'forum' situations, the pages are made to be identical by having an included header.inc and footer.inc. But in a situation where I've got a sidebar with a wrapper div and container div and whatever, it's less convenient for making consistent pages.
What's the correct course of action?
(the layout page is this: http://kitchencss.uwmike.com/)