View Full Version : Domain Name
04-13-2004, 05: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, 11: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 © 2017 vBulletin Solutions, Inc. All rights reserved.