Re: [PHP] $ SERVER["REQUEST URI"] includes domain unexpectedly

2007-09-15 Thread Greg Donald
On Fri, 14 Sep 2007, [EMAIL PROTECTED] wrote: > In my old server running Apache 1.3 and PHP 4 this code will return just the > URI as expected: > > $_SERVER["REQUEST_URI"] = "/some-html-file.html" > > In my new server with Apache 2 & PHP 4 this code returns the domain: > > $_SERVER["REQUEST_URI"] =

Re: [PHP] $ SERVER["REQUEST URI"] includes domain unexpectedly

2007-09-14 Thread Jim Lucas
[EMAIL PROTECTED] wrote: In my old server running Apache 1.3 and PHP 4 this code will return just the URI as expected: $_SERVER["REQUEST_URI"] = "/some-html-file.html" In my new server with Apache 2 & PHP 4 this code returns the domain: $_SERVER["REQUEST_URI"] = "/full-domain-name.

[PHP] $ SERVER["REQUEST URI"] includes domain unexpectedly

2007-09-14 Thread junk
In my old server running Apache 1.3 and PHP 4 this code will return just the URI as expected: $_SERVER["REQUEST_URI"] = "/some-html-file.html" In my new server with Apache 2 & PHP 4 this code returns the domain: $_SERVER["REQUEST_URI"] = "/full-domain-name.com/some-html-file.html"