How to wake a PC with a PHP script?

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

Suppose I want to send a "magic package" from a PHP script. How should I do it? Do I need to use cURL functions?

+3
source share
2 answers

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

+1
source

I have used WMI in the past to remotely control windows running machines.

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

Good luck.

0
source

Source: https://habr.com/ru/post/1754512/


All Articles