[email protected]

Registered
Jun 3, 2005
2
0
151
Hi,

Is there anyway you can show how much bandwidth and diskspace has been used by a domain without doing it through cPanel.

Situation:

Am building my own company control panel by integrating it into cPanel, I want the company control panel to show how much bandwidth/diskspace the client has used.

Is there a function for this or anything, your help is much obliged.


Rob Jones
www.dreamwebhost.net
 

awibble

Member
Jul 20, 2004
22
0
151
I'm not sure if there is an offical way, but if you use the accounting module in php http://cpanel.net/remoteaccess-php.html there also a function called whmreq that you could use to get the info from whm

The otherway (which i think is how the account module does it) is to use curl to login to whm and grab the infomation.