Re: Always Include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux