Page 1 of 1

Passing Parameters in URL without ?name=value with PHP

Posted: Fri May 10, 2002 9:12 am
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.

Posted: Fri May 10, 2002 9:29 am
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