Re: Always Include
| From: | James Stewart | Date: | Tue, 04 Jan 2005 03:19:48 +0000 |
| Subject: | Re: Always Include | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205566@lists.php.net to get a copy of this message | ||
On Jan 3, 2005, at 9:56 PM, The Disguised Jedi wrote:
I have a file that contains certain functions for proper function of my website scripting pages, and they need to be callable all the time. I know that this can be done through an include() or require() statement, but it would be easier if I could have it automatically done. Is there a way in Apache or PHP (this is going to both lists) that this can be accomplished, or should I just stick with my require() statements?If you can use a .htaccess file, try putting this in there: php_value auto_prepend_file /path/to/your/file James. -- James Stewart : Freelance Web Developer Work : http://jystewart.net Play : http://james.anthropiccollective.org