create subdomain in server dynamically using php

Reply

Join Date: Sep 2006
Posts: 54
Reputation: mahe4us is an unknown quantity at this point 
Solved Threads: 0
mahe4us's Avatar
mahe4us mahe4us is offline Offline
Junior Poster in Training

create subdomain in server dynamically using php

 
0
  #1
Jan 20th, 2007
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...
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 1
Reputation: SpinCode is an unknown quantity at this point 
Solved Threads: 0
SpinCode SpinCode is offline Offline
Newbie Poster

Re: create subdomain in server dynamically using php

 
0
  #2
Jan 20th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 67
Reputation: himanjim is an unknown quantity at this point 
Solved Threads: 1
himanjim himanjim is offline Offline
Junior Poster in Training

Re: create subdomain in server dynamically using php

 
0
  #3
Dec 14th, 2007
The link no longer works. Can u please post the script
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 213
Reputation: nikesh.yadav is an unknown quantity at this point 
Solved Threads: 17
nikesh.yadav's Avatar
nikesh.yadav nikesh.yadav is offline Offline
Posting Whiz in Training

Re: create subdomain in server dynamically using php

 
0
  #4
Nov 14th, 2008
ya link not working
Help as an alias

I think programming is great................
Tour Travel weblink by me and about Tour ,
Go To My Home Page and I m in Webdevelopment.
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 1
Reputation: ihave58 is an unknown quantity at this point 
Solved Threads: 0
ihave58 ihave58 is offline Offline
Newbie Poster

Re: create subdomain in server dynamically using php

 
0
  #5
Apr 30th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 1
Reputation: maxima is an unknown quantity at this point 
Solved Threads: 0
maxima maxima is offline Offline
Newbie Poster

Re: create subdomain in server dynamically using php

 
0
  #6
Sep 19th, 2009
Originally Posted by ihave58 View Post
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?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 8928 | Replies: 5
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC