Unable to connect
Hello
I am trying to use Cpanel's API 2 but i am getting this error
Fatal error: Class 'CPANEL' not found.
Is there any file because in xmlapi.php this class wasn't there
[PHP]api2(
'MysqlFE', 'authorizehost',
array(
'host' => 'www.domainname.com',
)
);
?>[/PHP]
this is what I have been trying to do to learn API 2.
-
I am still getting that error! I downloaded that xmlapi.php file and included it once again. In fact there is no cpanel() function defined in that file... Please suggest what to do? its really important.:( 0 -
Try using an example like what's referenced in this thread: Make sure you can get an example to work before proceeding with a custom script. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments