Re: $PHP_SELF no longer working on PHP4 upgrade
| From: | Andy Hoffman | Date: | Tue, 15 Aug 2000 17:37:33 +0000 |
| Subject: | Re: $PHP_SELF no longer working on PHP4 upgrade | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-1825@lists.php.net to get a copy of this message | ||
Bryan Shanaver wrote:
> I just upgraded from PHP3 to PHP4.0.1pl2 on IIS4 on NT4.
>
> Now all references to $PHP_SELF return empty strings...?
>
> Also, some scripts (I haven't debugged them yet to find out what parts)
> don't work the same.
>
> Does anyone know of documentation or similar problems concerning this?
Check the settings for track_vars and register_globals in your php.ini.
Chances are the installed php.ini has one or both of these set to "Off" and
they need to be turned "On".
--
Andy Hoffman
Web Developer
Bristol-Myers Squibb
office: LVL G1.2607
email: andy.hoffman@bms.com
phone: 609-252-5788