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

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


    require '/usr/local/cpanel/Cpanel/';
    $host = "";
    $user = "";
    $accesshash = '';

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


    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.

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