pppplus
Verified User
- Joined
- Dec 19, 2008
- Messages
- 526
Hi
New problem with API
If I run :
I received results, and an array with :
My problem :
If I run
I receive only :
With directadmin in debug mode, I have :
1st : how to have this on my results ?
2nd : http://www.directadmin.com/features.php?id=673
It's written :
Thanks for your help.
New problem with API
If I run :
Code:
$sock->query('/CMD_API_ADMIN_STATS');
Code:
$result=$sock->fetch_parsed_body();
print_r($result);
My problem :
If I run
Code:
$sock->query('/CMD_API_IP_MANAGER');
Code:
Array ( [error] => 0 [text] => Sucess [details] => )
With directadmin in debug mode, I have :
Code:
Command::doCommand(/CMD_API_IP_MANAGER)
Apache::get_cb_apache_ver == 2.2
IP::writeFile. Current list:
listType: 1
0: 2.3.4.6
1: IP 1
2: IP 2
3: IP 3
4: IP 4
5: IP 5
6: IP 6
7: IP 7
8: IP 8
Command::doCommand(/CMD_API_IP_MANAGER) : finished
Command::run: finished /CMD_API_IP_MANAGER
1st : how to have this on my results ?
2nd : http://www.directadmin.com/features.php?id=673
It's written :
In debug, I've only IP, not other informations.method: GET (no post data)
Outputs the ip table (ip, status, reseller, user(s), nameserver, netmask)
Thanks for your help.