[PHP] Re: $PATH_INFO not working

2004-04-24 Thread Anguz
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

[PHP] Re: $PATH_INFO not working

2004-04-23 Thread Torsten Roehr
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 way PHP

[PHP] Re: $PATH_INFO not working

2004-04-23 Thread Noel da Costa
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

[PHP] Re: $PATH_INFO not working

2004-04-23 Thread Torsten Roehr
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 my link has

Re: [PHP] Re: $PATH_INFO not working

2004-04-23 Thread Marek Kilimajer
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.

[PHP] Re: $PATH_INFO strangeness

2001-08-21 Thread Richard Lynch
Produces the result (among everything else): HTTP_SERVER_VARS[PATH_INFO]: /foo/bar However, an ? echo Path info: $PATH_INFO; ? 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

[PHP] Re: path_info

2001-08-01 Thread Richard Lynch
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

[PHP] Re: path_info

2001-08-01 Thread DMS
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

[PHP] Re: path_info

2001-08-01 Thread DMS
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

[PHP] Re: path_info

2001-08-01 Thread Richard Lynch
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 [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a