Home >Backend Development >PHP Tutorial >批处理运行PHP程序权限有关问题
批处理运行PHP程序权限问题
批处理是这样的D:\host\php\php.exe E:\baoxian\web\index.php
E:\baoxian\web\index.php 文件内容为:
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--><?phpdate_default_timezone_set ('PRC');file_put_contents('test.txt',date("Y-m-d H:i:s"));echo "haha".date("Y-m-d H:i:s");?>