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"
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?
to get the domainname : $_SERVER['HTTP_HOST']
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.