Using the dir structure url will create a 404 so in the head of the script you gota place header("HTTP/1.1 200 OK");
Then take each of the paths and explode them by / for PATH_INFO to work.
The make each / into an array and give it a var name.
$var_array = explode("/",$PATH_INFO);
$shit=$var_array[1];
Just echo the $shit and boom it works.
TheDoc
http://www.largecash.com