How to access functions of Cpanel!
this is not a question, as you might have thought, but a little insight into how to automatically access functions of Capanel, like creating accounts and accessing accounts.
Cpanel has script(on some servers its class, mainly new ones), which is here
on some servers it is Account-class.php.inc, if its a class.
you include this and set up host name and user and access hash for WHM and then you can use any function.
if the file is simple like its not a class. then the following will do
the only difference is the second one is class based.
hope this helps somebody
What versions contain the class file? And is it one or the other or both? If you know, just found it interesting as I wasn't aware of the class.
Not sure, but the one i used (which had class) is,
WHM 10.1.0 cPanel 10.2.0-R82
CentOS 3.5 i686 - WHM X v3.1.0
|All times are GMT. The time now is 12:44 PM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0