Re: Automatically include global file ...
| From: | Wendell Brown | Date: | Tue, 03 Jun 2003 16:51:32 +0000 |
| Subject: | Re: Automatically include global file ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150008@lists.php.net to get a copy of this message | ||
On Tue, 3 Jun 2003 18:41:59 +0200, Wouter van Vliet wrote:
>I've heard something about the possibility to set an option somewhere that
>will include a file to each php file requested... but I can't find it..
It's an ini setting (auto_prepend_file). Check here:
http://us4.php.net/ini_set
It can be set in the php.ini (or on Apache at least) in the .htaccess
as follows:
php_value auto_prepend_file "/www/extract_post.php"