Hi, today i was trying to do function which displays players who are online on my website using php_sdk and i have problem with connection to server.
HTTP port is opened, user who i'm using to connect has admin rights and it's not working.
mta_sdk version 0.4 - downloaded from wiki mta
this is php file on my website:
include( "mta_sdk.php" );
$mtaServer = new mta( "ip", 20145, "mta_php_sdk", "password" );
$resource = $mtaServer->getResource ( "php" );
$returns = $resource->call ( "getPlayersOnline" );
And the error:
Fatal error: Uncaugh