[PHP] PATH_INFO in CGI Mode

2002-05-24 Thread Mauricio Cuenca
Hello, I'm trying to work with the environment variable $PATH_INFO in a website that has PHP as CGI, not as an Apache module. The differences are these: 1. As an Apache module when I get into this URL: http://foo/script.php/path/info everything works fine and $PATH_INFO equals to /path/info 2.

Re: [PHP] PATH_INFO in CGI Mode

2002-05-24 Thread Analysis Solutions
Mauricio: On Fri, May 24, 2002 at 09:25:33AM -0500, Mauricio Cuenca wrote: I'm trying to work with the environment variable $PATH_INFO in a website that has PHP as CGI, not as an Apache module. I find the following to provide consistent information between CGI and Module modes: