homepage Welcome to WebmasterWorld Guest from 54.226.18.74
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
PHP Virtual Name Server !
How can I redirect some_choice.mydomain.com to some_url ???
Sorin




msg:1271090
 7:37 pm on Sep 3, 2001 (gmt 0)

Hi. My site is hosted at [mycgiserver.com...] and my name server (www.MyDomain.com) redirects any sub_domain.AaronCarter.ac to [mycgiserver.com...] How can my PHP script detect the sub_domain entered in the browser?
getenv(HTTP_HOST) detects mycgiserver.com i

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved