Execute php script in a bat file: Difference between revisions

Jump to navigation Jump to search
m
mNo edit summary
Line 9: Line 9:
c:\path\to\php.exe "c:\path\to\php_script.php"
c:\path\to\php.exe "c:\path\to\php_script.php"
</pre>
</pre>
: [[Image:Owl icon.jpg]] If you do not known where is the path of php, you may open the DOS window ({{kbd | key=<nowiki>cmd</nowiki>}}) and key in {{kbd | key=<nowiki>where php</nowiki>}} to obtain the path of php.


== Case 2: Execute the PHP script passing parameters ==
== Case 2: Execute the PHP script passing parameters ==

Navigation menu