Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once 'Websend.php';
- $ws = new Websend("localhost");
- $ws->password = "ralphfinch92";
- if($ws->connect()){
- $ws->doCommandAsConsole("say hello");
- echo "Time set.";
- }else{
- echo "Failed to connect.";
- }
- $ws->disconnect();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement