Re: path_info
| From: | DMS | Date: | Wed, 01 Aug 2001 18:12:28 +0000 |
| Subject: | Re: path_info | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-60726@lists.php.net to get a copy of this message | ||
By fail I mean that the code does not return a value for the path_info
variable.
The register_globals setting is currently set On. With it set Off I
obviously would note return a value with $PATH_INFO. It is my understanding
that the track_vars is always On starting with version 4.0.3
"Richard Lynch" <ceo@l-i-e.com> wrote in message
news:03d601c11a62$88091ba0$6401a8c0@Lynchux100...
> > I am running win2k sp1. The following code works with php 4.0.3
installed
> > however fails with versions php 4.0.5 and 4.0.6.
> >
> > Any assistance would be appreciated
> >
> > <?php
> > echo $PATH_INFO;
> > echo "<br>";
> > echo $HTTP_SERVER_VARS["PATH_INFO"];
> > ?>
>
> Define "fails"...
>
> What are your php.ini settings for register_globals and track_vars?
>
> --
> WARNING richard@zend.com address is an endangered species -- Use
> ceo@l-i-e.com
> Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htmÏ}P
> Cíã}ÀxjŠÞA
> Volunteer a little time: http://chatmusic.com/volunteer.htm
>
>