Quote:
Originally Posted by Tricky
I see in WHM we have access to our Remote Access Key to enable the management of Accounts etc. in an AUTOmated way using PERL/PHP
I don't seem to be able to include:
require '/usr/local/cpanel/Cpanel/Accounting.php.inc';
And get the following error:
Warning: require(/usr/local/cpanel/Cpanel/Accounting.php.inc) [function.require]: failed to open stream: Operation not permitted in /home/*****/public_html/del.htm on line 12
I want to be able to automate my customer experience so they can purchase hosting without my interaction...
Any ideas?
|
The reseller will only be able to do things via the API within the constraints of their reseller privileges. The XML-API (new in version 11) is a bit more robust in terms of functionality and they may consider using that instead. Documentation for that is available at:
http://www.cpanel.net/plugins/xmlapi/index.html