3

By enabling Wake-on-LAN on my PC, I can remotely power it on.

Suppose I want to send the "magic packet" from a PHP script. How would I do this? Would I need to use the cURL functions?

Nathan Osman
  • 71,149
  • 71
  • 256
  • 361

2 Answers2

1

You can peek at: http://sourceforge.net/projects/wolviaphp/files/ (uses fsockopen() with 'udp://')

Wrikken
  • 69,272
  • 8
  • 97
  • 136
0

I have used WMI in the past, for the remote management of machines running windows.

So WMI from MS or http://www.openwbem.org/ (the open standard) might be what you are looking for.

Good luck.

Andreas
  • 5,305
  • 4
  • 41
  • 60