New user doesn't have the assign package.

Eris

New member
Joined
Dec 24, 2004
Messages
3
I am trying to create a package by meaning PHP and the DA api.

But when I use the next script:

Code:
<?php                
$sock = new HTTPSocket;
		$sock -> connect ($out['serverip'],$out['port']);
		$sock ->set_method('POST');
		$sock -> set_login($out['dalogin'],$out['dapass']);
		
		$sock->query('/CMD_API_ACCOUNT_USER',array(

                'action' => 'create',

                'username' => $randomuser,

                'email' => $randomemail,

                'passwd' => $mypassword,

                'passwd2' => $mypassword,

                'domain' => $mydomain,

                'package' => $exsiting_package,

                'ip' => $myip,

                'notify' => 'yes')
		);

		$result = $sock->fetch_body();

The account has been created but the doesn't get the wanted package and everything is 0.

What is here wrong?

Thank you
 
Back
Top