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.

PHP - script examples, please!

Discussion in 'General Discussion' started by BennyP, Nov 6, 2002.

  1. BennyP

    BennyP Registered

    Joined:
    Nov 6, 2002
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Im trying to get the backend accounting script to work using PHP, but everytime I try it just returns: using socket

    &?
    require '/usr/local/cpanel/Cpanel/Accounting.php.inc';

    $host = &localhost&;
    $user = &root&;
    $hash = && hash &&;
    $ssl = &0&;

    showversion($host,$user,$hash,$ssl);
    ?&

    any ideas?
     
Loading...

Share This Page