I'm running this code form an external php script, but it's out put is nothing. I can't see any thing...PHP Code:public function listdbs($username) {
if (!isset($username)) {
error_log("listdb requires that user is passed to it");
return false;
}
return $this->api2_query($username, 'MysqlFE', 'listdbs');
}
*******************************************
include("xmlapi.php");
$ip = "*******";
$root_pass = "********";
$account = "******";
$xmlapi = new xmlapi($ip);
$xmlapi->password_auth("root",$root_pass);
$xmlapi->set_debug(1);
print $xmlapi->api2_query($account, 'MysqlFE', 'listdbs');
What I have to do to print list of databases....



LinkBack URL
About LinkBacks
Reply With Quote
Thank you... It will help me.....





