Thread
:
[SOLVED] Getting the current domain
View Single Post
#
5
(
permalink
)
Nov 22nd, 2007, 17:40
MikeHopley
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
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!
MikeHopley
View Public Profile
Visit MikeHopley's homepage!
Find all posts by MikeHopley