Yep, you can use something like this either in php.ini or in your web server
using something like php_admin_value.  It's fairly common to have all files
include some type of config/constants file though.

-Doug

On 12/19/2009 03:14 PM, Eric Jung wrote:
> Hm, maybe auto_prepend_file in php.ini??
> 
> Eric
> 
> 
> On Sat, Dec 19, 2009 at 3:11 PM, Eric Jung <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     Thanks for the help. On mozdev, we don't have to include globals.h
>     on every PHP page to get these variables defined. So is there a
>     "trick" to getting my own globals.h included on every PHP page
>     without using require() / require_once() in every file?
> 
>     Thanks,
>     Eric

-- 
Doug Warner    <[email protected]>        Site Developer
Mozdev.org     http://www.mozdev.org
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to