Advertisement
Guest User

Untitled

a guest
Jul 28th, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. $xmlapi = new xmlapi('MY IP Address');
  2. $xmlapi->password_auth("root",'My Cpanel password');
  3. $xmlapi->set_output("json");
  4.  
  5. $xmlapi->set_debug(1);
  6. print $xmlapi->api2_query($account, "Email", "listpopswithdisk" );
  7.  
  8. {"cpanelresult":{"apiversion":"2","error":"Access denied","data":{"reason":"Access denied","result":"0"},"type":"text"}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement