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 b
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) test
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 k
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
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
myscript/public/main.html/myscript/public/main.html/myscript/public
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:
*['PH
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
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 info
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 WI
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 $HTTP_SERVER_VARS["PATH_INFO"];
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTE
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 th
'. str_replace($o_sid, $n_sid,
$output);
return $output;
}
ob_start('fix_session');
?>
I am prepending this file and Im not getting the results I want. the substr_count is
there just to show me how many instances its going to replace. well the answer is 11,
there are 11 hard coded link.p
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=1234&PHPSESSID=xx
would be
index.php/article/1234/PHPSESSID/xx
but Im getting
index.php/article/1234?PHPSESSID=xx
is there a si
t; <[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
> examp
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 "somevalue"
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
http
To: [EMAIL PROTECTED]
From: "Tom Harris" <[EMAIL PROTECTED]>
Date sent: Tue, 9 Jan 2001 09:34:32 -0500
Subject: [PHP] PATH_INFO in Windows/IIS
> I've been using $PATH_INFO to get variables passed without
17 matches
Mail list logo