Q:

Making php handle get URI's like symfony

I am starting a project that is too small to use a framework for, but I would like to make the uri look like how symfony has them.
e.g.
example.net/directory/var/value/
instead of
example.net/directory?var=value
Thanks for any help.

A:

the keyword you have to look for is: url rewrite
here is a simple example
make a file named .htaccess into your root
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^directory/([^/]+)/([^/]+) /directory.php?var=$1&value=$2 [NC]

and that happens:
 http://domain.com/directory/AAA/123  => /directory.php?var=AAA&value=123

more over here: http://corz.org/serv/tricks/htaccess2.php

