title: URL mapping in PHP?
body: <p>I come from a Java background and with any servlets-based technology, it's trivial to map a range of URLs (eg /reports/<em>, /secure/</em>.do) to a specified servlet.  Now I'm less familiar with PHP but I haven't yet seen anything that does quite the same thing with PHP (or mod_php).  It's entirely possible that I'm missing something simple.</p>
  
  <p>How do you do this in PHP?</p>
  
  <p>One of the reasons I want to do this is "one use" URLs.  Now this can sorta be done with GET parameters (like an MD5 hash token) but I'm interested in URL mapping as a general solution to many problems.</p>
  
  <p>Another big reason to use something like this is to have RESTful URLs.</p>