How to organize your layout without using more then one include. on 03/15/10 at 00:00:00. by rgk in Guides 10.0 - 2 votes -
How many people are used to this: you have a header include file, footer include file, menu include file, advertisement include file and so on... well why not combine a lot more?
I like to name my main include file, main.php. Its simple and gets to the point. This will be the only file you need to include. I also place it inside an include folder, only include files should go in this folder for organization.
include_once'include/main.php';
Now you can use your main.php for a universal file. This helps you set error reporting and the timezone. In your main.php you can set this.