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/WHM API?

Discussion in 'General Discussion' started by hb-travisbell, Nov 22, 2006.

  1. hb-travisbell

    hb-travisbell Member

    Joined:
    Jun 13, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Earth
    Hey guys, nice and simple question.

    Is there an API for cPanel/WHM? I couldn't seem to find anything on the forums or in the documentation.

    Thanks!
     
  2. hb-travisbell

    hb-travisbell Member

    Joined:
    Jun 13, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Earth
    Nothing guys?
     
  3. freakin'me

    freakin'me Member

    Joined:
    Jul 8, 2005
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    There is one included with cPanel, this one is old and buggy however. You can find a little documentation on this API here. By using the PHP file below, it's possible to view it's sources:
    PHP:
    <?php echo show_source('/usr/local/cpanel/Cpanel/Accounting.php.inc'); ?>
    I decided to write one myself, which I do not post here for I do not know exactly if I'm going to freely distribute it, or do it the commercial way. Anyhow, users of this forum can PM me in order to receive a free copy of this script. It has been written fully in PHP5 Object Oriented. I'll post the syntax under here, so you can see whether you're interested.

    Freakin'me

     
Loading...

Share This Page