943,955 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 17907
  • PHP RSS
Jan 20th, 2007
0

create subdomain in server dynamically using php

Expand Post »
Hi all,

I would like to provide subdomains for my users while they are register into my site. For example, if a user is registering into my site then he selects xxx as his username and once he completed his registeration process successfully. A URL www.xxx.mydomain.com will be provided to that user for viewing his site . How can I create such subdomains dynamically in server using php..

Can anyone have idea for this....

Thanks in advance...
Similar Threads
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
mahe4us is offline Offline
54 posts
since Sep 2006
Jan 20th, 2007
0

Re: create subdomain in server dynamically using php

Hi,
The link below is to a php script that will automatically create subdomains. However, there are certain restrictions in place, basically server settings.

http://www.addedworth.com/php/index....PHP_SUBDOMAINS

That script was not written by me, but I've used it before and it works.
Cheers,
Spin
Reputation Points: 10
Solved Threads: 0
Newbie Poster
SpinCode is offline Offline
1 posts
since Jan 2007
Dec 14th, 2007
0

Re: create subdomain in server dynamically using php

The link no longer works. Can u please post the script
Reputation Points: 14
Solved Threads: 1
Junior Poster in Training
himanjim is offline Offline
67 posts
since Jul 2006
Nov 14th, 2008
0

Re: create subdomain in server dynamically using php

ya link not working
Reputation Points: 15
Solved Threads: 21
Posting Whiz in Training
nikesh.yadav is offline Offline
219 posts
since Feb 2008
Apr 30th, 2009
0

Re: create subdomain in server dynamically using php

Here is the one i have written..
http://www.zubrag.com/downloads/cpanel_subdomains.zip

Thanks
Aaditya Kumar
[url snipped]
Last edited by Ezzaral; Apr 30th, 2009 at 1:38 pm. Reason: Snipped fake sig link. Keep it on site.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ihave58 is offline Offline
1 posts
since Aug 2007
Sep 19th, 2009
0

Re: create subdomain in server dynamically using php

Click to Expand / Collapse  Quote originally posted by ihave58 ...
Here is the one i have written..
http://www.zubrag.com/downloads/cpanel_subdomains.zip

Thanks
Aaditya Kumar
[url snipped]
Really? then you are genius.

Copying from others and then claiming as own do you think good?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
maxima is offline Offline
1 posts
since Sep 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: PHP Editor Like Wordpress
Next Thread in PHP Forum Timeline: Search with multiple search terms used





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC