Re: register_globals = off and $PHP_SELF
| From: | scottrus at ipass dot net | Date: | Fri, 01 Sep 2000 11:45:56 +0000 |
| Subject: | Re: register_globals = off and $PHP_SELF | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14873@lists.php.net to get a copy of this message | ||
On Fri, Sep 01, 2000 at 01:38:05PM -0700, Christopher Thompson wrote:
> I think you need to add this to your fucntion or class:
>
> global $HTTP_SERVER_VARS;
>
This worked. I figured it had to be a simple solution. I kept shooting for
one line vars like $GLOBALS[HTTP_SERVER_VARS["PHP_SELF"]] whiched just
won't work it at all.
Thank you much Chris. Please give yourself +1 karma.
--
Scott