PHP代码需要关闭系统 [英] PHP code need to shutdown system
本文介绍了PHP代码需要关闭系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要将我的Windows 7在虚拟机中进入睡眠模式,使用php脚本关闭和唤醒模式..有没有机会这样做?
谢谢
Siva
解决方案
使用PHPsystem
功能......
http://il1.php.net/system [ ^ ]
< pre lang =PHP> system(' shutdown -t -s 0');
I need to put my windows 7 in virtual machine into sleep mode, shutdown and wakeup mode using php script.. is there any chances to do this??
Thanks
Siva
解决方案
Use PHPsystem
function...
http://il1.php.net/system[^]
system('shutdown -t -s 0');
这篇关于PHP代码需要关闭系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文