title: REST with PHP, how to choose query string
body: <p>I'll show two type of query string for this example.
  I know that a query string for a web service, should be look like more 1 than 2</p>
  
  <ol>
  <li><a href="http://localhost/findbyproductcode/4xxheua" rel="nofollow">http://localhost/findbyproductcode/4xxheua</a></li>
  <li><a href="http://localhost/findbyproductcode?productcode=4xxheua" rel="nofollow">http://localhost/findbyproductcode?productcode=4xxheua</a></li>
  </ol>
  
  <p>My question is: how do you manage the first one in php? isnt this just an url rewrite for the second one?</p>
  
  <p>with the #2 query string, I suppose there's a findbyproductcode.php page that process the GET variable(?productcode=4xxheua), check some databases with this productcode and send back some data.</p>
  
  <p>How the #1 is supposed to work? should I have a 4xxheua.php? (obviously not...) ... i just dont get this.</p>