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: Colin McKinnon <colin.thisisnotmysurname@ntlworld.deletemeunlessURaBot.com>
Date: Thu Oct 20 2005 - 22:10:46 CEST

dalyian39@gmail.com wrote:

> Hello,
>
> 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), i.e.
> http://mysite/B?foo=bar should be equivalent to calling
> http://mysite/B.php?foo=bar.
>
> I've tried creating a symlink on the filesystem B -> B.php but that
<snip>
> What I've done now is to try the type-map approach from the docs at
<snip>
>
> Any thoughts, or suggestions?

I'd start again using mod_rewrite.

C.
Received on Mon Oct 24 02:11:23 2005