Re: referencing a constant inside an object
| From: | Ethan Schroeder | Date: | Sat, 12 May 2001 21:03:45 +0000 |
| Subject: | Re: referencing a constant inside an object | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52585@lists.php.net to get a copy of this message | ||
global $PHP_SELF;
global $REMOTE_USER;
----- Original Message -----
From: "cw" <cwieden@capecod.net>
To: "Php-General" <php-general@lists.php.net>
Sent: Saturday, May 12, 2001 11:28 AM
Subject: [PHP] referencing a constant inside an object
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>