Hey guys,
We're trying to connect to the xmlapi with the cpanel user, instead of our root account, but it doesn't seem to be working. We get "access denied". Here's the code being used:
Any help would be greatly appreciated!
We're trying to connect to the xmlapi with the cpanel user, instead of our root account, but it doesn't seem to be working. We get "access denied". Here's the code being used:
PHP:
<?
require("xmlapi.php");
$x = new xmlapi("mysite.com");
$x->password_auth("myuser", "mypass");
$x->set_debug(1);
$x->listips();
?>