create new subdomain based on user info using PHP
Site scenario: user register/sign up my site then a subdomain will automatically be created based on their username [for example username.example.com]. How can I make this automatically when user sign-up? I like to use only one instance of files of my site but many subdomains. Then how can I display user specific data..May be I can extract the first portion and get the username and fetch the data based on username..
How can i achieve this: files only in one directory but many subdomains created automatically and utilize the same files?
FYI I checked the post at http://www.sitepoint.com/forums/show...ight=subdomain
but still not clear.