ZELDAX

ajax_1.php

Jan 15th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.26 KB | None | 0 0
  1. <?php
  2.     include( "mta_sdk.php" );
  3.     // $mtaServer = new mta("192.168.0.100", 22005); // local host
  4.     $mtaServer = new mta("cit ip", 22105); // host
  5.     $resource = $mtaServer->getResource ("CITzelda");
  6.     $retn = $resource->call("getDocs", (int)1);
  7.     echo $retn[0];
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment