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 and PERL script access

Discussion in 'General Discussion' started by dima, Jul 24, 2003.

  1. dima

    dima Registered

    Joined:
    Jul 21, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I'm using cPanel and have a problem.
    I need to use external script to make some operations (for creating and delete acounts).
    I'm trying to use scripts from "Documentation", but it use WHM... What are the differences between them?

    Could you show me working examples of PHP or PERL scripts?

    Thank you.
    Dmitry.

    cPanel.net Support Ticket Number:
     
  2. dima

    dima Registered

    Joined:
    Jul 21, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Now I'm experienced a bit in writting scripts. But there are one question.

    $user = "user";
    $accesshash = 'accesshash';

    What is accesshash? Is this a password?
    In this case, why I always gets "Access Denided"?

    Help me please!

    cPanel.net Support Ticket Number:
     
  3. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    There's an option in your WHM near the top that says, "Setup Remote Access Key" That is where you get the accesshash.

    cPanel.net Support Ticket Number:
     
  4. dima

    dima Registered

    Joined:
    Jul 21, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Thank you very much!
    Now all right.

    Be happy!

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page