Re: $_GET empty with Apache and content negotiation
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: $_GET empty with Apache and content negotiation

From: John Dunlop <usenet+2004@john.dunlop.name>
Date: Fri Oct 21 2005 - 21:43:41 CEST

dalyian39 wrote:
 
> I'm pretty new to PHP but I have a page, B.php, which runs fine, but I
> want to be able to call this as B (long story),

you're right, it is a long story, but it's not yours alone.

I don't see why you would put .php in your URLs anyway.

> i.e.
> http://mysite/B?foo=bar should be equivalent to calling
> http://mysite/B.php?foo=bar.

I would stick with your content negotiation, even if you have only one
representation at the moment, but switch to MultiViews instead.

-- 
Jock
Received on Mon Oct 24 02:11:41 2005