Cmd_account_reseller

sspt

Verified User
Joined
Oct 27, 2005
Messages
63
Hello,
What's the differences betwen CMD_ACCOUNT_RESELLER and CMD_ACCOUNT_USER?

I've this:
$sock->query('/CMD_ACCOUNT_USER',
array(
'username' => $data[7],
'passwd' => $data[8],
'passwd2' => $data[8],
'domain' => $data[9],
'package' => $package_name,
'bandwidth' => $data1[3],
'quota' => $data1[4],
'ip' => $data[10],
'email' => $email,
'action' => 'create',
));
$result = $sock->fetch_body();
Result: Account created

$sock->query('/CMD_ACCOUNT_RESELLER',
array(
'username' => $data[7],
'passwd' => $data[8],
'passwd2' => $data[8],
'domain' => $data[9],
'package' => $package_name,
'bandwidth' => $data1[3],
'quota' => $data1[4],
'ip' => $data[10],
'email' => $email,
'action' => 'create',
));
$result = $sock->fetch_body();
Result: You have not given the reseller any IP's. Unable to create an assigned IP domain or any nameservers without any

note: $data[10] = server shared ip


Thanks in advance,
 
values of $data

Please, can you send a print_r($data)?? I have the same problem...i just want to see the values and structure for the parameters for CMD_ACCOUNT_RESELLER
 
Any question

when I create a user dealer all I've got unlimited fields. Bandwidth, ftps accounts, etc..

Will you help me?
 
Back
Top