This little script provides you a way to have pretty URLs in your php web site. If you just want to have routes but you do not want to bother with massive php frameworks, you could find this useful
I was not able to get this to work straight from the zip file. I had kept getting the default error handler message when clicking on the 'Home' link. Looking further into the issue, I found that in engine.php on line 32 you have if($url == $route['link']), my $url kept coming back with /home/ and the $route['link'] was coming back as home.
I modified this in my version to:
if(str_replace('/', '', $url) == $route['link']){