Possible Duplicate:
How to: URL re-writing in PHP?
How can a website use an argument that you provide directly in the URL?
For example, you can visit:
And then the scripts on that site can use the value www.google.com to see if the site is up.
I could do this with:
http://isup.me/index.php?url=ww.google.com
$url = $_GET['url'];
But that isn't very clean, and I would love to know how it is done the other way.
Thanks a lot! pimvdb pointed out that this was a duplicate of this question: