
Would you like to rip information from cpanel without logging in, just use this script and modify to fit your needs:
<?PHP
function get_string($h, $s, $e)
{
$sp = strpos($h, $s, 0) + strlen($s);
$ep = strpos($h, $e, 0);
return substr($h, $sp, $ep-$sp);
}
// Cpanel Username:
$username = "******";
// Cpanel Password
$password = "*********";
// Link to Cpanel (Copy From Browser ..without [url]http://[/url])
$link = "www.yourdomain.com:2082/frontend/bluelagoon/index.html";
$data_array = file('http://'.$username.':'.$password.'@'.$link);
$data = implode ("", $data_array);
// Search For and start collecting data AFTER (CHANGE FOR YOUR SELF)
$start = '<td width="50%" style="border-bottom: 1px solid"><font face="Arial, Helvetica, sans-serif" size="2">Mysql Databases</font></td>';
// Stop Search AT..data will not include this (CHANGE FOR YOUR SELF)
$end = '<td width="50%" style="border-bottom: 1px solid"><font face="Arial, Helvetica, sans-serif" size="2">Email';
// Process
$table = get_string($data, $start, $end);
// Cleaning up (CHANGE FOR YOUR SELF)
$table = str_replace(' <td width="50%" style="border-bottom: 1px solid"><font face="Arial, Helvetica, sans-serif" size="2">0
/
100
</font></td>
</tr>','',$table);
// Cleaning up (CHANGE FOR YOUR SELF)
$table = str_replace(' <tr>
<td width="50%" style="border-bottom: 1px solid"><font face="Arial, Helvetica,
sans-serif" size="2">SQL Disk Usage</font></td>
<td width="50%" style="border-bottom: 1px solid"><font face="Arial, Helvetica,
sans-serif" size="2">0.00 Meg</font></td>
</tr>','',$table);
echo "<table>";
echo $table;
echo "</table>";
?>
Have fun!