Saeven

Active Member
Jun 23, 2003
26
0
151
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:
 

Saeven

Active Member
Jun 23, 2003
26
0
151
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:
 

prixone

Well-Known Member
Mar 4, 2004
111
3
168
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