I'm using this code:
The problem is, these options are not actually enabled:
Am I doing something wrong?
Code:
$sock->query('/CMD_API_ACCOUNT_USER',
array(
'action' => 'create',
'add' => 'Submit',
'username' => $value['clientUsername'],
'email' => $value['clientEmail'],
'passwd' => $password,
'passwd2' => $password,
'domain' => $data['domain'],
'bandwidth' => $data['bandwidth'],
'quota' => $data['diskspace'],
'uvdomains' => 'on',
'unsubdomains' => 'on',
'unemails' => 'on',
'unemailf' => 'on',
'unemailml' => 'on',
'unemailr' => 'on',
'umysql' => 'on',
'udomainptr' => 'on',
'uftp' => 'on',
'aftp' => 'on',
'cgi' => 'on',
'php' => 'on',
'spam' => 'on',
'cron' => 'on',
'catchall' => 'on',
'suspend_at_limit' => 'on',
'skin' => 'serverFFS'
'ip' => $dedi,
'notify' => 'no'
));
The problem is, these options are not actually enabled:
Code:
'uftp' => 'on',
'aftp' => 'on',
'cgi' => 'on',
'php' => 'on',
'spam' => 'on',
'cron' => 'on',
'catchall' => 'on',
'suspend_at_limit' => 'on',
Am I doing something wrong?