PHP implementation of mobile phone off the computer (computer) method, PHP with mobile phone
The example in this paper is about the method of using PHP to turn off the computer (computer). Share to everyone for your reference. The specific analysis is as follows:
Suitable for mobile phone and computer, with WiFi PHP web development. Easy to shut down your computer (especially when you want to sleep), suitable for LAN
Usage: Put in your Web project folder, you can create a new directory
Yes, put your Apache httpd or IIS into the firewall exception, the file is the PHP suffix OH
Computer-manager<?php if ($_post) { $shutdown = array ( ' shutdown ' = ' shutdown-s-t 0 ', ' restart ' = ' shutdown-r ', c3/> ' logout ' = ' shutdown-l ', ); $CMDK = $_post[' cmd ']; echo $cmd = $shutdown [$CMDK];
I hope this article is helpful to everyone's PHP programming.
http://www.bkjia.com/PHPjc/987889.html www.bkjia.com true http://www.bkjia.com/PHPjc/987889.html techarticle PHP Implementation of the mobile phone off the computer (computer) method, PHP with mobile phone This article describes the PHP implementation of mobile phone off the computer (computer) method. Share to everyone for your reference. ...