run batch file using php?

skatero00778

New member
I have a php page that I need to run a .bat file. I made a test.php with<?php exec(C:\pp.bat) ?>
but when I run it noting happens on my batch file I have START /MAX C:\WINDOWS\system32\mspaint.exe to test if the batch run. The real batch is more complicated but I will be happy to run at lest a simple batch. any help will be very appreciated .
 
Back
Top