Location: PHPKode > scripts > cPanel X > cpanel-x/examples.php
//You can use this class only with a cPanel hosting account

include "cpanel.php";

$cpanel = new cpanel();

//login with your hosting account

//if you don't want to see the cPanel output commment the next line

//don't run this script as is , comment all examples but one

//Ex 1:
//create new email address : hide@address.com with password: newpassword and a quota of 10Mb

//Ex 2:
//delete email account

//Ex 3:
//add subdomain one.mydomain.com

//Ex 4:
//add subdomain two.one.mydomain.com

//Ex 5:
//delete subdomain two.one.mydomain.com

//Ex 6:
//delete subdomain one.mydomain.com
Return current item: cPanel X