PHP: get rid of '?p=' in url? [duplicate]

请求翻译

Possible Duplicate:
Passing varible types though mod-rewrite

howdy, I'm using the get method on my current project. my links refer to if(isset($_GET['p'])) …

everytime i click a link the url in the adressbar changes to mydomain.com/?p=files/path/subpath

i wonder if i can somehow use mod_rewrite or anything else i order to get a prettier url. i'd love to get rid of the "/?p=files/" part in my url. it would be cool if the endresult would look like this:

mydomain.com/path/subpath

is that even possible? regards matt

1个回答