This article documents the usage of the Cpanel::MysqlFE::listhosts function in relation to the cPanel interface. This tag can be used inside cPanel pages.
Cpanel::MysqlFE::listhosts
This function outputs the names of remote MySQL access hosts.
<?cp MysqlFE::listhosts(% ,host) || 'No MySQL access hosts are configured' ?>
This example will output a list of remote MySQL access hosts, or the text ``No MySQL access hosts are configured'', if no access hosts are configured.
Copyright 2007 cPanel Inc.