RE: [PHP] prepend file to all scripts...
| From: | Wouter van Vliet | Date: | Fri, 24 Oct 2003 20:07:11 +0000 |
| Subject: | RE: [PHP] prepend file to all scripts... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167489@lists.php.net to get a copy of this message | ||
Add:
php_value auto_prepend_file "/path/to/file"
To your .htaccess or VirutualHosts section.
You might also want to use auto_append_file
Wouter
-----Original Message-----
From: Jonathan Villa [mailto:jvilla@isdesigndev.com]
Sent: Friday 24 October 2003 22:00
To: php-general@lists.php.net
Subject: [PHP] prepend file to all scripts...
I thought I read that this was possible once, but I can't find anything to
substantiate/refute it...
Is it possible to prepend a configuration file to my pages?
For example,
I have a app.config.inc file which contains an application specific include
path as well as includes the classes my application needs.
Currently this file is in my web root, but I would like to place it outside
of my web root but still include it in all of my pages...
Is this possible?
--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php