CPanel : Account Creation Module (Remote Access Key)

Has anyone had any luck getting this to work? I have successfully got it to list accounts, list packages etc. However, no matter what I have tried, for the life of me I can't get it to create new accounts. I am using the PHP version (not Perl). The command I am using is:

PHP Code:
createacct ($host,$user,$accesshash,$acctdomain,$acctuser,$acctpass,$acctplan,$usessl,0); 
Is this correct? and secondly, if not what command should I be using?

I have of course got all the variables such as "$acctdomain" set. I am just not sure if the command above is correct or not.

I looked in the WHM/CPanel manual/forums but they weren't much help as it doesn't have any detailed information.

Any help would be appreciated CPanel : Account Creation Module (Remote Access Key)

 

 

 

 

Top