Re: register_globals & PHP_SELF
| From: | Alexander Wagner | Date: | Wed, 21 Mar 2001 19:32:52 +0000 |
| Subject: | Re: register_globals & PHP_SELF | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44988@lists.php.net to get a copy of this message | ||
Steve Haemelinck wrote:
> Does the PHP_SELF variable only work if you have your
> register_globals on?
Probably.
> Is their an another for still using it ?
$putitinhere = getenv("PHP_SELF");
might work.
Or, if track_vars is ON (default since PHP 4.03 I think), you might
find it in $HTTP_SERVER_VARS["PHP_SELF"].
These are just guesses, though.
regards
Wagner
--
Assumption is the mother of all fuck-ups.