View Full Version : Domain Name

04-13-2004, 04:28 AM
How would I detect the domain name the file is located in?

so, say I ran domain.php in www.raraken.com, it would have a variable saying "www.raraken.150m.com"

04-13-2004, 07:38 AM
I have no idea what you mean + your link doesn't seem to do anything.

Can you give a bit more info?

04-13-2004, 10:12 PM
the url was an example, it doesnt exist.

But what I'm trying to say is, I'm making a templait for a guy that has about 5 sites.

Anyway, they all go by "galac____" (ie GalacMail, GalacForums, ect ect). How do I check the site address in php?

04-13-2004, 10:16 PM
to get the domainname : $_SERVER['HTTP_HOST']