Re: path_info
| From: | Richard Lynch | Date: | Thu, 02 Aug 2001 04:03:14 +0000 |
| Subject: | Re: path_info | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-60817@lists.php.net to get a copy of this message | ||
path_info may be coming from IIS, or, rather *NOT* coming from IIS, so isn't
set...
You may be able to find some other variable with what you need in <?php
phpinfo();?>
--
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
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Dms <dms61969@hotmail.com>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Wednesday, August 01, 2001 1:12 PM
Subject: Re: path_info
> 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
> > Volunteer a little time:
> > http://chatmusic.com/volunteer.htm
> >
> >
>
>