note 9508 added to Classes and Objects

From: Date: Wed, 08 Nov 2000 08:41:52 +0000
Subject: note 9508 added to Classes and Objects
Groups: php.notes 
Request: Send a blank email to php-notes+get-7491@lists.php.net to get a copy of this message
Why is it you can't access servervariables (e.g. $DOCUMENT_ROOT, $SERVER_NAME) or access sessionvariables directly from within a class, although you can start/stop a session within a class? What is the environment of a class? http://www.php.net/manual/nl/language.oop.php

« previous php.notes (#7491) next »