Hi
I have bought a reseller account at domain.ca - but not because I want to run a web host site.
I Run a website where the user can store images from survailance cameras. I run something manually at the moment - but I would like to run somethings automatic/dynamically.
Actually all I need is to be able to create the following when I have a new customer (the customer register in Wordpress/woo commerce)
1) create a new sub domain
2) create a ftp account for this sub domain
3) create a cron job.
Maybe I can use LiveAPI? - but I can't figure out how to Instantiate the CPANEL object?
How can I do this?
require_once "/usr/local/cpanel/php/cpanel.php";
And where shall I put the php files to use LiveAPI
Am I way off or is there an easier way?
I have bought a reseller account at domain.ca - but not because I want to run a web host site.
I Run a website where the user can store images from survailance cameras. I run something manually at the moment - but I would like to run somethings automatic/dynamically.
Actually all I need is to be able to create the following when I have a new customer (the customer register in Wordpress/woo commerce)
1) create a new sub domain
2) create a ftp account for this sub domain
3) create a cron job.
Maybe I can use LiveAPI? - but I can't figure out how to Instantiate the CPANEL object?
How can I do this?
require_once "/usr/local/cpanel/php/cpanel.php";
And where shall I put the php files to use LiveAPI
Am I way off or is there an easier way?