Passing Parameters in URL without ?name=value with PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
INetIT
Forum Newbie
Posts: 1
Joined: Fri May 10, 2002 9:12 am

Passing Parameters in URL without ?name=value with PHP

Post by INetIT »

I'd like to pass parameters via the url without using the standard phppage.php?name=value&name2-value2. I imagine it would look something like http://my.domain.com/folder/phppage/nam ... me1/value1

The goal is to have a url that appears to be a static page for the search engines and the public but in fact is a template driven site using a single master document(controller) who decides what to display based on parameters passed in via the url.

Seems I've seen something like this with Perl or Java.

Any Ideas?

Thanks.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Handily there's an article about this at evolt.org:
http://www.evolt.org/article/Making_cle ... index.html

It explains how to get the effect you want using Apache and PHP.

Mac
Post Reply