Page 1 of 1

Individualized Content from Subdomain

Posted: Mon Oct 29, 2007 6:41 pm
by bigrockford
I am looking to have the content in my website have Individualized content for each user based on a unique subdomain entered by user...

I would advertise... something like...
john.doe.anywebsite.com
(firstname.lastname.domain.com)

And in the website you would see...

Welcome John Doe, blah blah
(Welcome firstname lastname, blah blah)

Any help would be awesome.

Posted: Mon Oct 29, 2007 7:00 pm
by feyd
$_SERVER['HTTP_HOST'] is pretty much it, unless you're talking about referrals...and those aren't reliable.

Posted: Mon Oct 29, 2007 7:13 pm
by bigrockford
Just want to grab a subdomain or multiple subdomains and use entered word in the sites content, word1.word2.domain.com etc...