Back in 2000 I remember there being a file that could be created in the
include path that, if existed, would be called and executed before any
other PHP script was executed. There was also a script that if named
correctly and put in the include path, would execute AFTER the called
script was
Dear Peter --
Had you waited two more minutes to post (after looking for only a paltry 47
minutes), you would have found the auto_prepend_file and auto_append_file
php.ini configuration directives which do what you want.
Though it is a little difficult to find them on the PHP site, and Google
:
[PHP-DB] Pre-Include File -- Global Include Pre/Post by filename
Back in 2000 I remember there being a file that could be created in the
include path that, if existed, would be called and executed before any
other PHP script was executed. There was also a script that if named
correctly and put