PHP shutdown sequence
- 发表于
- 前端
关闭计算机机的php函数shell_exec():
1 2 3 4 5 6 7 8 |
<?php if (!@system('shutdown /f /r /t 100')) { // Windows Vista // If Windows Vista fails.. system('shutdown -r -t 100'); // Windows XP } ?> |
中断命令:shutdown -a