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
[Back to original message]
|