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!

PHP & newapi.txt usage

Discussion in 'General Discussion' started by Ron, Mar 24, 2003.

  1. Ron

    Ron Member

    Joined:
    Oct 25, 2002
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    151
    I'm using cPanel Build 6.0.0-RELEASE #108 and can't seem to be able to use the functions in the newapi.txt as shown. First off, the "cp" tag is being completely ignored, I have to use "cpanel" instead. Then, "listpops" only works when prececeded by Email=. Finally, it doesn't seem to pay any attention to the parameters. Can anyone explain this to me please?

    What I'm really trying to do is create a PHP script that will return all of the email accounts with their quota's and current disk usage. Anyway to do this?

    Thanks.

    PS - Why do all of the PHP code samples on this forum contain strange symbols instead of how they should actually be used?
     
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