Re: [PHP] Re: $_SERVER['SERVER_NAME'] in read-only.

2004-04-29 Thread John W. Holmes
From: "Red Wingate" <[EMAIL PROTECTED]> > AFAIK the content of the superglobal variables cannot be changed ( even > though i haven't found this in the docs i can remeber got beaten by PHP > for doing so :-) ) They can be changed and you can even add to them. $_SERVER['foo'] = 'bar'; is valid an

[PHP] Re: $_SERVER['SERVER_NAME'] in read-only.

2004-04-29 Thread Red Wingate
AFAIK the content of the superglobal variables cannot be changed ( even though i haven't found this in the docs i can remeber got beaten by PHP for doing so :-) ) Back to the problem ( if existent ): If you don't do stuff like '$_SERVER['SERVER_NAME'] = ;' inside your script you won't run into