Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice