Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $soapHost = "127.0.0.1";
- $soapPort = "7878";
- $soapUsername = "125125"; // Create a new account in the game with highest possible gmlevel and set the accountname here. this will be your SOAP Account
- $soapPassword = "126126"; // Set password of the soap account here
- //Dont edit this
- $client = new SoapClient(NULL, array(
- 'location' => "http://$soapHost:$soapPort/",
- 'uri' => 'urn:TC',
- 'style' => SOAP_RPC,
- 'login' => $soapUsername,
- 'password' => $soapPassword,
- ));
- $char = $_POST['charname'];
- $entry = $_POST['itementry'];
- $command = "send items $char \"Items from store\" \"Thanks for supporting us\" $entry";
- $result = $client->executeCommand(new SoapParam($command, 'command'));
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement