subdomain

Create subdomain (cPanel)
3 followers

Subdomain is extensions to create subdomain but not using cpanel interface. You can customize it

Requirements

requirements of using this extension (e.g. Yii 1.1 or above)...

Usage

  1. Extract the downloaded file to your application extensions directory
  2. Just place the following code inside your controller file:
Yii::import('ext.subdomain.Subdomain');
 
$sb = new Subdomain('sopwer.net'); //youdomain
 
$sb->setCpanelInfo('user_cpanel','pass_cpanel'); //user & pass cpanel
 
$sb->setCpanelSkin('x3'); //skin
 
$sb->setSubdomain('ramdani'); //subdomain name
 
$sb->execute();

Resources

Don't hesitate to contact me if there are any errors.

Total 2 comments

#8998 report it
ramdani at 2012/07/12 12:16am
Thanks

Don't hesitate to contact me. if you get something wrong about the extensions

#8988 report it
robregonm at 2012/07/11 12:06pm
Interesting extension

Hm... Looks very interesting and promising... Taking a loot at it :)

Leave a comment

Please to leave your comment.

Create extension
Downloads