Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $xmlapi = new xmlapi('MY IP Address');
- $xmlapi->password_auth("root",'My Cpanel password');
- $xmlapi->set_output("json");
- $xmlapi->set_debug(1);
- print $xmlapi->api2_query($account, "Email", "listpopswithdisk" );
- {"cpanelresult":{"apiversion":"2","error":"Access denied","data":{"reason":"Access denied","result":"0"},"type":"text"}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement