I have a script that I want to use on several sites. I want it to automagically display the url of that site. I am certain i have seen this before. Basically, PHP would detect the url (http://www.mysite.com) and then fix it so that i could reuse in title to say "Hi, Welcome to mysite.com!!"