bhlinder
11-17-2003, 05:58 PM
Hello everyone--
I have a new project that I am unsure of how to do. Here's what I need to do: when a user signs up for this site, I need to create the sub domain: http://newUser.mySite.com where newUser is the new person that signs up. I know that this is possible because I some hosting companies have very similar capabilities with in their control panels. The ISP that I am using to host the site does support sub domains too.
Also, how can I grab the url the user entered? I need to be able to set variables based on the URL
i.e. http://user.mySite.com will have user specific elements added from the DB which will be different from http://user2.mySite.com
Any ideas/help would be greatly appreciated. Thanks.
I have a new project that I am unsure of how to do. Here's what I need to do: when a user signs up for this site, I need to create the sub domain: http://newUser.mySite.com where newUser is the new person that signs up. I know that this is possible because I some hosting companies have very similar capabilities with in their control panels. The ISP that I am using to host the site does support sub domains too.
Also, how can I grab the url the user entered? I need to be able to set variables based on the URL
i.e. http://user.mySite.com will have user specific elements added from the DB which will be different from http://user2.mySite.com
Any ideas/help would be greatly appreciated. Thanks.