cPanel UAPI returns null
Hi, I created a little script for manage email accounts from my reseller hosting...
This script use the cPanel UAPI Library created by N1ghteyes (github.com/N1ghteyes/cpanel-UAPI-php-class) and works very well...
Recently a friend tried to use it in his VPS (from Mochahost), but It doesn't work...
So we created a simple file for try the connection (below is the code)
[PHP]uapi->Resellers->list_accounts();
var_dump($list_main_domains['data'>);
?>[/PHP]
But always it return this:
D:\xampp\WHMEmailManager\api_test.php:10:null
Why happend this? (We are trying using the "root" account)
And this is my script (in Spanish): github.com/KuroiNekoWitch/WHMEmailManager
Please sign in to leave a comment.
Comments
0 comments