Re: Pre-Include File -- Global Include Pre/Post by filename

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
wasn't entirely helpful, they are there for you to enjoy.

Beckman

On Tue, 5 Apr 2005, Peter Beckman wrote:

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 executed.

Was this depreciated, or does it still exist?  I can't remember what to
call it, and I can't seem to find the right page in the manual.  Any help?

--------------------------------------------------------------------------- Peter Beckman Internet Guy beckman@xxxxxxxxxxxxx http://www.purplecow.com/ ---------------------------------------------------------------------------

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux