View Single Post
  #5 (permalink)  
Old Nov 22nd, 2007, 17:40
MikeHopley MikeHopley is offline
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Getting the current domain

Quote:
Originally Posted by @lun View Post
what karinne said:

this has always worked for me

PHP: Select all

$url "http://".$_SERVER['HTTP_HOST']."/"
Fantastic, that's solved it -- and quickly, too.

Thanks everyone!
Reply With Quote