Auto_prepend_file
| From: | Richard Baskett | Date: | Thu, 28 Feb 2002 22:46:57 +0000 |
| Subject: | Auto_prepend_file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-86669@lists.php.net to get a copy of this message | ||
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