Advertisement
Guest User

php send mail wow

a guest
Jan 6th, 2018
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.73 KB | None | 0 0
  1. <?php
  2. $soapHost = "127.0.0.1";
  3. $soapPort = "7878";
  4. $soapUsername = "125125"; // Create a new account in the game with highest possible gmlevel and set the accountname here. this will be your SOAP Account
  5. $soapPassword = "126126"; // Set password of the soap account here
  6.  
  7. //Dont edit this
  8. $client = new SoapClient(NULL, array(
  9.     'location' => "http://$soapHost:$soapPort/",
  10.     'uri'      => 'urn:TC',
  11.     'style'    => SOAP_RPC,
  12.     'login'    => $soapUsername,
  13.     'password' => $soapPassword,
  14. ));
  15.  
  16. $char = $_POST['charname'];
  17. $entry = $_POST['itementry'];
  18.  
  19. $command = "send items $char \"Items from store\" \"Thanks for supporting us\" $entry";
  20. $result = $client->executeCommand(new SoapParam($command, 'command'));
  21. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement