Advertisement
CoolRaoul

wake-monpc

Sep 6th, 2014
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. <?php
  2.  
  3. flush();
  4.  
  5. include "wol.php";
  6.  
  7. $socket_number = "9";        // any number between 1-40000
  8. $mac = "XX:XX:XX:XX:XX:XX";
  9. $ip = "192.168.1.255";     // broadcast address of my network
  10.  
  11. wol($ip, $mac, $socket_number);
  12.  
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement