How to run .bat using PHP and web browser

 

Here is a PHP command to run a .bat file:

system ('CMD /C \apache\htdocs\Jargon_Lisy2QB\UploadUnpostedOrders.bat');

 

use ext_eval.html (or int version) to execute PHP statements.

Article Details

Article ID:
168
Category:
Date added:
2013-02-11 18:13:14
Views:
2,355
Rating (Votes):
(600)