jeremywatco
03-22-2004, 03:35 PM
I am looking for a way to grab the location address in PHP. I am used to doing it in javascript with an easy:
if (location="blah.com")
{
do stuff
}
however I need a way to do this with PHP because our website has 6 different domain names pointed to it and I would like to display certain values based on the address they type in. Any ideas?
Thanks!
if (location="blah.com")
{
do stuff
}
however I need a way to do this with PHP because our website has 6 different domain names pointed to it and I would like to display certain values based on the address they type in. Any ideas?
Thanks!