Home >php教程 >php手册 >让PHP调用执行应用程序

让PHP调用执行应用程序

WBOY
WBOYOriginal
2016-06-21 08:58:201378browse

PHP可以执行命令行命令


exec()
system()
shell_exec()
等函数

让PHP执行系统命令

你可以这样做
exec('E:\tool\Dreamweaver.exe index.php');

PS:index.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
Previous article:PHP的网络资源Next article:PHP与数据库连接