The other poster was correct in their reply, but a more fitting reply is
that $PHP_SELF is NOT a "constant". A constant would be something like...
define(PHP_SELF,"cow");
All PHP code would then show PHP_SELF as "cow".
cw wrote:
> 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?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]