Re: Auto_prepend_file
| From: | Pete Lacey | Date: | Fri, 01 Mar 2002 02:05:10 +0000 |
| Subject: | Re: Auto_prepend_file | ||
| References: | 1 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-86707@lists.php.net to get a copy of this message | ||
It's not 'php' but 'php_value'.
php_value auto_prepend_file "pathtoscript/uniemail.php"
Richard Baskett wrote:
What I want to do is have a function available to all my php files without having to use an include in every page. So what I did was put this line in my .htaccess file: php auto_prepend_file "pathtoscript/uniemail.php" It didn¹t work, I also tried php_auto with the underscore in the above.. And that didn¹t work either. I have modified my httpd.conf file so that it will process .htaccess files.. Any ideas? Rick "I haven't failed, I've found 10,000 ways that don't work." - Ben Franklin