Jump to content


Recommended Posts


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

Link to comment
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#
Link to comment
This topic is now closed to further replies.
  • Recently Browsing   0 members

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