|
Posted by Csaba Gabor on 07/01/06 22:46
Chuck Anderson wrote:
> This may be more of an Apache question, but after an upgrade at my
> remote host (one of them being from Php4 to Php5), $_SERVER['PATH_INFO']
> no longer contains any data. Instead, the string I am looking for is in
> $_SERVER['ORIG_PATH_INFO'] (never heard of that one before - I found it
> using phpinfo).
>
> Example URL:
> http://example.com/index.php/Keyword
>
> Before the upgrade $_SERVER['PATH_INFO'] would contain /Keyword. Now it
> is blank, and there is a new server variable, $_SERVER['ORIG_PATH_INFO']
> that does contain /Keyword.
>
> Is this a Php5 issue, ... an Apache issue, ... something else?
I don't think it's PHP, sounds like something else...
I just checked my php 5.2 / Apache 2 and it is returning the PATH_INFO
per your expectations (and no ORIG_PATH_INFO in sight).
Csaba Gabor from Vienna
Navigation:
[Reply to this message]
|