RE: [PHP] Automatically include global file ...
| From: | esctoday.com | wouter van vliet | Date: | Tue, 03 Jun 2003 17:14:07 +0000 |
| Subject: | RE: [PHP] Automatically include global file ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150022@lists.php.net to get a copy of this message | ||
Thanks !!!
-----Oorspronkelijk bericht-----
Van: Wendell Brown [mailto:wbrown@arkie.net]
Verzonden: dinsdag 3 juni 2003 18:52
Aan: PHP General; Wouter van Vliet
Onderwerp: Re: [PHP] Automatically include global file ...
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"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php