Code:$da = new HTTPSocket; $da->connect('http://122.200.136.9',2222); $da->set_login('admin','xxxx'); $da->query('/CMD_API_SHOW_ALL_USERS'); $users = $da->fetch_parsed_body(); print_r($users);
Try this.
Hi there
Thanks for you reply
I tried your example above but still get Array().
This is frustrating as i need to get the api to work for my database to talk to DA ..
Can you think of any other reason it dont work.
I also tried the example to add a user but it also dont work etc..
Any assistance appreciated