Web Hosting Talk







View Full Version : CPanel : Account Creation Module (Remote Access Key)


Rochen
08-05-2002, 10:53 PM
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:

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 :)

Rochen
08-05-2002, 10:55 PM
On a side note, no error is returned, it just doesn't make the account.

Rochen
08-06-2002, 02:59 AM
Made a bit more progress had to name the variable "$accts", however now it reports "Unable to obtain IP address".