Hey,
We're trying to setup a dashboard for our server, using both MySQL and MTA. It is being written in PHP, and the MySQL part is all running fine. There is, however, a problem with hooking into the MTA server using the PHP SDK (latest version).
Here is how we are hooking into MTA; http://pastebin.com/yVN5aS6Z
The account has administrative rights, and the function is exported to http via meta.xml
I have checked the lua script, and it is returning the correct details. However, when I try and echo the returned data on the PHP page, absolutely nothing is output. I've tried everything; $info, $info[0], $info[0][0], $info[0]["name"], foreach looping, everything. The server is using PHP 5.3.2
Are there any other obvious things I've forgotton, which may be causing this problem?
Thanks,
Callum