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 Accounting PHP module

Discussion in 'General Discussion' started by iHost, Sep 20, 2003.

  1. iHost

    iHost Registered

    Joined:
    Sep 10, 2003
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I was just wondering how do you create new account via Remote Access.

    I found this code:
    PHP:
    <?php

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

    createacct ($host,$user,$accesshash,$usessl,$acctdomain,$acctuser,$acctpass,$acctplan);
    ?>
    Can someone give me an example of working code?

    Regards, Pavel

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page