Home >Backend Development >PHP Tutorial >php system函数执行系统命令与直接在终端中执行命令有什么区别?

php system函数执行系统命令与直接在终端中执行命令有什么区别?

WBOY
WBOYOriginal
2016-06-06 20:06:091138browse

用php system执行一个php文件
与直接在windows cmd中执行结果不一样,哪位同学知道 区别在哪里?

回复内容:

用php system执行一个php文件
与直接在windows cmd中执行结果不一样,哪位同学知道 区别在哪里?

权限,看你用什么权限跑的PHP

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn