Noel Da Costa wrote:
Hi,
Anyone know what might stop the $PATH_INFO variable from working? I
developed a nav system using this which works on the test server, but not on
the live server. I'm guessing this is something to do with the way PHP
(4.2.2) and Apache (2.0) were compiled on the live serv
Torsten Roehr wrote:
"Noel Da Costa" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Thanks for the thought...
I was using getenv('PATH_INFO'). I tried $_SERVER['PATH_INFO'], but it
didn't help.
PATH_INFO is working, ie being filled, but Apache doesn't seem to know
what
to do with it
"Noel Da Costa" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks for the thought...
>
> I was using getenv('PATH_INFO'). I tried $_SERVER['PATH_INFO'], but it
> didn't help.
>
> PATH_INFO is working, ie being filled, but Apache doesn't seem to know
what
> to do with it. So if m
Thanks for the thought...
I was using getenv('PATH_INFO'). I tried $_SERVER['PATH_INFO'], but it
didn't help.
PATH_INFO is working, ie being filled, but Apache doesn't seem to know what
to do with it. So if my link has a URL: "index.php/section/login" it tries
to find a literal folder with that
"Noel Da Costa" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Anyone know what might stop the $PATH_INFO variable from working? I
> developed a nav system using this which works on the test server, but not
on
> the live server. I'm guessing this is something to do with the
> Produces the result (among everything else):
> HTTP_SERVER_VARS["PATH_INFO"]: /foo/bar
>
> However, an produces an empty
> result. Same with $HTTP_SERVER_VARS["PATH_INFO"].
That's crazy...
You're not doing this inside a function and forgetting:
global $PATH_INFO
are you?
OH -- You also ar
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
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.co
By the way. This problem occurs under the ISAPI version of PHP but works
just fine with the EXE version. I understand the the ISAPI version has some
potential problems but everything seems to work fine under W2K IIS5 with PHP
4.0.3 whereas with W2K IIS5 and PHP4.0.6 it does not under ISAPI only.
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
"Richar
> 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
>
> echo $PATH_INFO;
> echo "";
> echo $HTTP_SERVER_VARS["PATH_INFO"];
> ?>
Define "fails"...
What are your php.ini settings fo
10 matches
Mail list logo