auto_prepend_file on PHP 4.0
| From: | Beltran Cambronero | Date: | Mon, 31 Jul 2000 23:42:11 +0000 |
| Subject: | auto_prepend_file on PHP 4.0 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-9310@lists.php.net to get a copy of this message | ||
Hi,
I'm having a hard time configuring auto_prepend_file on PHP4.0.
Before I was using PHP3.0 and it was working fine, I had a configuration
line in the http.conf file like:
<Directory "/usr/local/apache/htdocs/sales">
php3_auto_prepend_file /usr/local/apache/htdocs/sales/logon.php3
</Directory>
so, every time, I access the directory /usr/local/apache/htdocs/sales it
will be loaded first the file logon.php3.
The command used, "php3_auto_prepend_file", was defined in the php3
module mod_php3.c loaded by httpd.
Now, in PHP4.0, there is no "auto_prepend_file" command in the mod_php4.c
loaded by httpd.
Thanks,
Beltran Cambronero