This is done on PHP 3.0.16
Hi folks,
I have a problem with these HTTP_ vars.
I have a mainpage, call it main. There is an include which carries several 
and other includes like my abstract db-layer class.
I include this in my class-function, which works fine for the most 
variables but $SERVER_ADDR
It seems that I cannot get these variable in the function of my class so I 
have to pass them as
argument to the function. I have made an init() function where I pass these 
vars inside the object
But I donīt like to do this, vars like $SERVER_ADDR or *_NAME should be 
available inside the
Is this behaviour normal, or are there any workarounds for it?

Hope someone could help.
TIA Oliver

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to