The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cpanel listing help!!

Discussion in 'General Discussion' started by zapzappy, Nov 5, 2004.

  1. zapzappy

    zapzappy Member

    Joined:
    Nov 5, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    I currently have the phps whm list account script in place

    <?php

    require '/usr/local/cpanel/Cpanel/Accounting.php.inc';
    $host = "";
    $user = "";
    $accesshash = '';

    $accts = listaccts($host,$user,$accesshash, 1);
    print_r($accts);

    ?>


    but it comes out as arries. How can I have it list just a certain account. Plus how can I have it list the space, bandwith, ftp accounts aloud, etc etc for this account or does whm not work like this.
     
Loading...

Share This Page