i have tried opening .bat files in PHP using many syntax and they are working fine. It runs the file and stores the output. But im having a new problem in hand where i need to initiate a server program from PHP.
Lets say i have a the server program "server.java" and a client program "client.java". The server needs to be run first and then the client. I have created a batch file to run this server program as "server.bat". Is it possible to initiate this server.bat file from the PHP side and make it run in the background until the client finish its process?