I'm starting work on a large modular script in PHP, and am running into some problems with includes...here's my directory structure right now:
webserver/script/lib -> libraries (classes, functions, and the authorization script)
webserver/script/config -> configuration files (headers, footers, and the config.inc file itself)
I'd really like to have an easier way to include everything I want than having to type include("http://webserver/script/lib/functions/dbfunctions.inc") whenever I want to include that particular set of functions. I've looked around but haven't found much advice. Any would be appreciated.
thanks,
Rob
webserver/script/lib -> libraries (classes, functions, and the authorization script)
webserver/script/config -> configuration files (headers, footers, and the config.inc file itself)
I'd really like to have an easier way to include everything I want than having to type include("http://webserver/script/lib/functions/dbfunctions.inc") whenever I want to include that particular set of functions. I've looked around but haven't found much advice. Any would be appreciated.
thanks,
Rob