Hi,

My script needs to load a config file  with DB connection properties, etc.
At the beginning of the session, the ini file is loaded and all values are stored in 
$_SESSION
After the loading, a flag is also set in $_SESSION so that the ini loading is no more 
executed.

However, all ini properties are the same for all users, so I wonder if I could put 
them in a cross-session variable. I guess $_ENV or $_SERVER should be good.

So, the question could be :
If I put something in $_SERVER, will these values be available for ALL users? 

Any idea?

I have to keep the ini file, and could not hard code those properties.

Vincent

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

Reply via email to