[PHP] php script from bat file

2007-06-12 Thread Bosky, Dave
What's the syntax I need to use to execute a PHP script from a batch file? PHP is installed in 'C:\PHP' and the script I want to run is in 'C:\Inetpub\scripts\run.php'. I've created a Windows batch file which executes from the 'C:\PHP' directory and contains a single line 'php.exe

RE: [PHP] php script from bat file

2007-06-12 Thread Jay Blanchard
[snip] What's the syntax I need to use to execute a PHP script from a batch file? PHP is installed in 'C:\PHP' and the script I want to run is in 'C:\Inetpub\scripts\run.php'. I've created a Windows batch file which executes from the 'C:\PHP' directory and contains a single line 'php.exe

Re: [PHP] php script from bat file

2007-06-12 Thread Tijnema
On 6/12/07, Bosky, Dave [EMAIL PROTECTED] wrote: What's the syntax I need to use to execute a PHP script from a batch file? PHP is installed in 'C:\PHP' and the script I want to run is in 'C:\Inetpub\scripts\run.php'. I've created a Windows batch file which executes from the 'C:\PHP'

Re: [PHP] php script from bat file

2007-06-12 Thread Richard Lynch
php.exe expects a PHP script as an argument, usually. You can run it interactively with -a or use -i to get phpinfo output and so on, but php.exe with nothing at all will run and not do much of anything. On Tue, June 12, 2007 11:30 am, Bosky, Dave wrote: What's the syntax I need to use to