Can someone, PLEASE tell me what i am doing wrong?
It echo's:
s:17:"HTTP/1.1 200 OK ";
I have this problem with more list request, its pretty annoying me...
EDIT:
Oh btw, this works if i paste it in my browser:
http://<host>:2222/CMD_API_DATABASES?action=users&db=aaaa_Test
PHP:
$this->_socket = new HTTPSocket();
$this->_socket->connect("<host>", 2222);
$this->_socket->set_method("POST");
$this->_socket->set_login("<user>", "<pass>");
$this->_socket->query('/CMD_API_DATABASES',
array(
'domain' => 'christolmeijer.nl',
'action' => 'users',
'db' => 'aaaa_Test'
)
);
$result = $this->_socket->result;
echo serialize($result);
s:17:"HTTP/1.1 200 OK ";
I have this problem with more list request, its pretty annoying me...
EDIT:
Oh btw, this works if i paste it in my browser:
http://<host>:2222/CMD_API_DATABASES?action=users&db=aaaa_Test