Friday 2 June 2017

Execute a file.bat with php

I have devoloped shel windows code into a .bat file. I want to run this file with php. I used $ output = shell_exec ('C: \ xampp \ htdocs \ node.bat'); The browser remains running but the script does not run.

When I click on the file.bat manmend everything is fine but I try to order by php

thank you



via Hsan Bouazizi

No comments:

Post a Comment