Advertisement
Guest User

Untitled

a guest
Jun 30th, 2014
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <?php
  2. require_once 'Websend.php';
  3.  
  4. $ws = new Websend("localhost");
  5. $ws->password = "ralphfinch92";
  6.  
  7. if($ws->connect()){
  8. $ws->doCommandAsConsole("say hello");
  9. echo "Time set.";
  10. }else{
  11. echo "Failed to connect.";
  12. }
  13. $ws->disconnect();
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement