title: php: newbie question about modrewrite
body: <p>i've started using modrewrite under php - i wrote an .htaccess file and defined some rules.</p>
  
  <p>but the main question is - how would i do the "opposite thing" of creating the modrewrite-links inside my web?</p>
  
  <p>eg. i'm using this original url inside my website: /search.php?par1=abc&amp;par2=def&amp;par3=ghi
  the correspondending modrewrite url would be /go/find/something/here/index.html</p>
  
  <p>so i'd need to replace all html-links in my web using the ugly url with the mod-rewrite url.
  what's the easiest way to do this? (function for creating urls, using a database ..)</p>
  
  <p>thanks</p>