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

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:

is that even possible? regards matt