I have a core functions file, which I include in every php file.
It may be a simple question, but, I was wondering, the functions aren't loaded or anything unless I directly call them, right? I'm not sure if the functions are preloaded or not...
The entire PHP file will be loaded and evaluated. So although the functions won't be "run" until you call them, the entire file does get read and parsed by PHP.
I would break the files into pieces like member_functions.php/template_functions.php etc and have the pages call them
|All times are GMT. The time now is 04:29 PM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0