I was wondering if it was possible to force a file to be included before a file request was completed.
i.e.
User requests website.com/index.php
Apache serves dbinfo.cfg, then index.php
I am wondering becuase I want to setup an application that can serve sites/DBs from one core set of files. Basically the only info that would change is in the DB so I would need to force a user to connect to only the DB setup in the config file to get the right info into the app.
If this is possible, can someone point me to some good resources?
TIA.