RE: [PHP-DEV] auto_prepend/append: does the PHP engine cache the
| From: | Lance Lovette | Date: | Sat, 05 Oct 2002 22:17:23 +0000 |
| Subject: | RE: [PHP-DEV] auto_prepend/append: does the PHP engine cache the | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89061@lists.php.net to get a copy of this message | ||
> I find myself including() the same constants.inc file in all my scripts,
> is there a way to declare static constants that remain even when a
> script exits? (I am using PHP as an Apache module).
I wrote the PWEE PHP extension to solve this exact problem.
http://pwee.sourceforge.net
I haven't updated the web site but it does work with PHP 4.2.3.
Lance