Hey.

Still very much a beginner, I want to make a little php snippet that does something like this:

Code:
if (currenturl = www.blablabla.com)
  goto blablabla.mysite.com
I might be able to do some of it, but how to I find out what URL the viewer has typed in? (This site has two aliases which are in fact the exact same site)

Thanks for any pointers!