If you are not running PHP under a Windows platform the most efficient way
to solve your problem is with a PHP extension I developed. It handles
constants and provides a type of persistent variable too. It has been
immensely useful for my projects.

http://pwee.sourceforge.net/

Lance

> -----Original Message-----
> From: Monty [mailto:monty3@;hotmail.com]
> Sent: Tuesday, October 22, 2002 3:27 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Best way to set global params for entire site??
>
>
> I'm building a site with PHP and most scripts need access to certain
> site-wide global parameters, such as paths and default settings,
> etc. What's
> the best way to load this information so that it's globally
> available to all
> scripts? I have a func.php file that is included in all scripts -
> do I just
> load them every time for each script in there? Or is there a more
> efficient
> way of doing this with environment variables or some other way?
>
> Thanks!!
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


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

Reply via email to