Custom Class to direct use of API functions

jodasi

Verified User
Joined
Mar 15, 2005
Messages
62
Hi there

I'm deveopping a custom class using HTTPSocket.php class, to make querys to Directadmin API, altough i'm having some problemas, hope someone can help:

$this->sockit is a new HttpSocket and its right instanciated.

// Method to get all users from reseller
function getResellerUsers(&$result,$reseller)
{
$this->sockit->query('/CMD_API_SHOW_USERS',array('reseller'=>$reseller));
$result = $this->sockit->fetch_parsed_body();

}


Thanks
 
Last edited:
Back
Top