Jump to content

PHP SDK


Syntrax#

Recommended Posts

Posted

Hello,

I´m creating a function that verifies the player that tries to login on the forum by checking the ingame account details. But the problem is the line that is being used to communicate between the php file and the server.

 

$response = $mta->getResource('SAFGdb')->call('verifyLogin', $playerUsername, $playerPassword)

Whenever i add this line the page throws an error 500

Posted (edited)

After further debugging i've narrowed the problem to this single line

Old version
$response = $mta->getResource('SAFGdb')->call("verifyLogin",$playerUsername, $playerPassword);

new version that works but does not trigger the resource
call("verifyLogin",$playerUsername, $playerPassword);

 

Edited by Syntrax#
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...