Hello,
I'm making billing system on my web server (Centos). I'm install only httpd and php.
I want connect my web server to Directadmin
On my billing web server I'm upload this script:
I'm get only this:
Also does not work user creating, etc...
I think it does not connected.
Can anyone help me?
Thank you
I'm making billing system on my web server (Centos). I'm install only httpd and php.
I want connect my web server to Directadmin
On my billing web server I'm upload this script:
include "httpsocket.php";
$sock = new HTTPSocket;
$sock->connect("1.2.3.4", 2222);
$sock->set_login("admin","123456");
$sock->query('/CMD_API_SHOW_ALL_USERS');
$result = $sock->fetch_parsed_body();
print_r($result);
I'm get only this:
Array ( )
Also does not work user creating, etc...
I think it does not connected.
Can anyone help me?
Thank you