I've been working on some projects in which we have configuration files, and other functions that are used on multiple pages to be included through php as an external file. I've been looking into a way to do something similar to that, but instead of having to include it in every single file, have it included on every file in a directory.
Is this possible at all? I'm trying to use it for some very simple things such as queries, or inclusions, or error reporting, so i dont have to have that include line on each page.
(side note: I know its lazy, and no, its not a needed thing... at this point, its more of curiosity than application)
Thanks!
auto_prepend_file. But that's more of a workaround really.