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.

WHM scripts/ and scripts2/

Discussion in 'General Discussion' started by Saeven, Aug 11, 2003.

  1. Saeven

    Saeven Active Member

    Joined:
    Jun 23, 2003
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ottawa
    cPanel Access Level:
    Reseller Owner
    Twitter:
    Hello,

    I've tried search, but it led only to open ends. Seems there's no answer given to this one anywhere - so I'll try myself!

    When calling the whmreq feature from the php or perl accounting classes, the system seems to index them by name and either scripts or scripts2.

    What I was trying to do was to enable a script for the add reseller privileges feature found in the Reseller Center (inside of WHM interface). If you look at the HTML inside of the add reseller privileges form, the action="" for the form has value: /scripts/addres -- however -- there is no 'addres' inside of /scripts on the box. Where does this point to? Is calling it as though it were there sufficient?

    Looking forward to any help.

    Cheers.
    A

    cPanel.net Support Ticket Number:
     
  2. Saeven

    Saeven Active Member

    Joined:
    Jun 23, 2003
    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Ottawa
    cPanel Access Level:
    Reseller Owner
    Twitter:
    Well,

    for anyone who searches for this in the future, just perform the whmreq as in the Accounting.pm or Accounting.php file using the post parameters in the forms inside of the panel. The action field for the form dictates the script that is run. Wherever it may be, it works.

    Cheers.
    A.

    cPanel.net Support Ticket Number:
     
  3. prixone

    prixone Well-Known Member

    Joined:
    Mar 4, 2004
    Messages:
    107
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    yes

    i want this too.

    what args to use and how to use it in perl script

    i know how to creata account etc but
    not to change this accout to a reseller don´t work

    what i need to do ??

    any cPanel sabius please heehe
     
Loading...

Share This Page