You are here: Re: $_GET empty with Apache and content negotiation « PHP Programming Language « IT news, forums, messages
Re: $_GET empty with Apache and content negotiation

Posted by John Dunlop on 10/21/05 22:43

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация