Re: [PHP] path_info in fastcgi setting

2008-03-10 Thread Daniel Brown
On Sun, Mar 9, 2008 at 7:54 AM, Ian M. Evans [EMAIL PROTECTED] wrote: Under Apache and the PHP module: a) test.php path_info is blank b) test.php/ppp path_info=/ppp Under PHP FastCGI: c) test.php path_info is test.php d) test.php/ppp path_info=/ppp Not sure why it's not blank in

[PHP] path_info in fastcgi setting

2008-03-09 Thread Ian M. Evans
Greetings all. Making the transition to PHP 5.2.5 operating as FastCGI through Nginx. Seem to be having a bit o' weirdness with path_info. Under Apache and the PHP module: a) test.php path_info is blank b) test.php/ppp path_info=/ppp Under PHP FastCGI: c) test.php path_info is test.php d)

[PHP] PATH_INFO empty, ORIG_PATH_INFO correct

2005-01-25 Thread Marten Lehmann
Hello, I'm using PHP as CGI (not through Apache-action, but she-bang line containing the path to php). When I'm calling http://test.com/phpinfo.php/a/variable/url PATH_INFO should contain /a/variable/url. I checked this with a perl-script, which printed out all environment variables and so I

[PHP] $PATH_INFO not working

2004-04-23 Thread Noel da Costa
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 server (I've posted that

[PHP] PATH_INFO wrong URL

2003-05-30 Thread Tobias Martelius
Hi My path_info variable adds on to the current URL so the paht_info lose track every time a click on the link , like this... (myscript = myscript.php) myscript/public/main.html myscript/public/main.html/myscript/public/main.html

[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:

[PHP] PATH_INFO and the ' / ' (search friendly URLs)

2001-11-13 Thread Andy
Hi there, I am trying to put after .php an information like: .php/1234 This is because I am trying to build a searchfriedly URL like described in http://www.zend.com/zend/spotlight/searchengine.php#3 The problem is... it does not work I get an server error. As soon as there is a slash and

[PHP] $PATH_INFO strangeness

2001-08-20 Thread Brian Curtis
I'm trying to develop an application that uses search engine friendly URLs, by reading everything after test.php as the variables necessary to display the requested dynamic content. I'm encountering the following strange results with $PATH_INFO. Scenario 1: Running Apache 1.3.20 (SAPI) on

[PHP] PATH_INFO at document root

2001-05-11 Thread Simon Kimber
Hi all, I want to set up one virtual server with many domains pointing to it which serves pages depending on the domain name. Here is how i see it: 1) 3 domains pointing to 1 virtual server, eg. www.foo.com www.bar.com and www.blah.com 2) If user visits http://www.foo.com/contact.phtml then

[PHP] PATH_INFO and trans-sid

2001-04-24 Thread Chris Lee
I am playing with using PATH_INFO for variables, like the zend.com article, I like this but I want SID to follow a simmilar path. ie. index.php?article=1234PHPSESSID=xx would be index.php/article/1234/PHPSESSID/xx but Im getting index.php/article/1234?PHPSESSID=xx is there a

[PHP] $PATH_INFO

2001-02-27 Thread Data Driven Design
I've got a page that I'm currently working on that grabs a couple of variable from $PATH_INFO and uses them for db queries. The page is currently called content.php. My question is this, when I replace my index file with this will http://www.mydomain.com/somevar/someothervar be the same as

Re: [PHP] $PATH_INFO

2001-02-27 Thread Sam Masiello
I would have to be inclined to say that you couldn't do that. None of the examples that I have ever seen do it that way, and from a perspective of how a URL is built, how would the browser ever know that you are trying to access index.php/somevar/somevalue as opposed to thinking that

Re: [PHP] $PATH_INFO

2001-02-27 Thread Data Driven Design
ot; [EMAIL PROTECTED] To: "Data Driven Design" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, February 27, 2001 12:33 PM Subject: Re: [PHP] $PATH_INFO I would have to be inclined to say that you couldn't do that. None of the examples that I have ever seen do it that way, an