You are here: Re: Odd Directory Problem with PHP « PHP Language « IT news, forums, messages
Re: Odd Directory Problem with PHP

Posted by Tony on 06/24/05 19:13

Stefan Rybacki wrote:
> AF wrote:
>> I am a novice to PHP, so please forgive any dumb questions, etc.
>>
>> I finally learned how to pass variable with php, or at least learned
>> one way.
>>
>> My urls look like this
>>
>> http://www.domain.com/webpage.php/variable1/variable2
>
> It seems your configuration is weird. Normally it should look like
> this:
> http://www.domain.com/webpage.php?variable1=foo&variable2=bar

I've seen that sort of setup before, and I was under the impression it was
intentional. The way I saw it used was on a site that used a "container"
script that called a "content" script depending on the page name passed - so
to get www.domain.com/index.php?page=home you would enter
www.domain.com/home

I figured that was a server setting that did that - and as I said, it seemed
intentional...

--
Tony Garcia
Web Right! Development
tony.NO@webrightdevelopment.SPAM.com

 

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

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