Hi,
I'm quite new with PHP, and I encounter following problem :
I'd like to test value of SERVER_NAME within a method of a class (database class) in order to connect as a different user to my database, depending on which virtual host used.
The variable appears to be empty, while it is correctly populated in the other scripts.
Is there a special way to invoke apache variables or other global php variables within a method of a class ?
Thanks.