Page 1 of 1

require_once on a MasterFile full with links-or not to?

Posted: Tue Oct 03, 2006 3:03 pm
by TheBigYin
I have lots of Functions split over lots of different files.

Would it be advantagous to have one Masterfile.php that uses; required('xxx') to link to all my smaller files containing lots of funtions and just using;

required_once('MasterFile.php') in all my web pages??

All of the Function files combined well over 1M and I'm unsure if this will mean every time theres a page change (ie Index.php > Information.php) if the server will process MasterFile again and again and generate more load.

Thx