I'm having a little problem getting a batch file to run a php script. I have xampp installed on my Win Server 2k3. Here is what my .bat file looks like:
C:\xampp\php\php.exe -f "C:\xampp\htdocs\mysite\index.php"
I have also tried:
My php script is set to update a mysql database and write to a log file. I can tell the php script works when ran through a browser because the database is updated and the log file is modified.
When I double click on the .bat file to execute it, a command prompt window opens and quickly closes. When I checked the database/log file created by the php script, there are no changes.
Thanks in advance.