I understand that this has been covered quite a bit in this forum, but I have searched and haven't found a solution to my problem.
I am trying to stick the "createacct" tag into the processing file for a form and I have something messed up somewhere. You can fill out the form and it appears to process it coreectly but does not create the acct in WHM.
This is the WHM acct creation portion of the script...any ideas would be greatly appreciated.Code:require '/usr/local/cpanel/Cpanel/Accounting.php.inc'; $host = "localhost"; $user = "root"; $accesshash = '<<removed for security reasons>>'; $acctdomain = $DomainName; $acctuser = $Username; $acctpass = $data['pass']; $acctplan = $pack_name; createacct ($host,$user,$accesshash,$usessl,$acctdomain,$acctuser,$acctpass,$acctplan, 0);
THis is also written in PHP.....



LinkBack URL
About LinkBacks
Reply With Quote




