referencing a constant inside an object

From: Date: Sat, 12 May 2001 18:28:55 +0000
Subject: referencing a constant inside an object
Groups: php.general 
Request: Send a blank email to php-general+get-52581@lists.php.net to get a copy of this message
I'm trying to reference $PHP_SELF and $REMOTE_USER inside a class: var $page; var $user; $this->page=$PHP_SELF; $this->user=$REMOTE_USER; I'm using php4. What am I missing here? TIA, clif

« previous php.general (#52581) next »