Home >Backend Development >PHP Tutorial >如何用.bat调用php文件

如何用.bat调用php文件

WBOY
WBOYOriginal
2016-06-13 10:35:411207browse

怎么用.bat调用php文件
怎么用.bat调用php文件啊??
我用的
D:¥xampp¥php¥php.exe –r D:¥abc¥sendmail.php
pause
怎么不行啊,,无法调用呢。

------解决方案--------------------
你怎么知道无法执行PHP页面呢?你向数据库中插入一个记录看看。
如果你是测试有没有生成一个文件,结果没有生成,请看看这个帖子
http://topic.csdn.net/u/20120612/11/59f78697-35aa-4c89-ad4e-074e79b04af0.html

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