Calling a batch file through a web page

I would like to call a batch file via a web page. Can you suggest to me the most appropriate way of doing this? Should I use Javascript or PHP?

Note: The command should be placed on a button.

Answers


You can use php exec function

Use the function to execute the command that you need.


Need Your Help

BrowserWindowOpener and dynamic url/resource VAADIN

java url browser vaadin

Is there any way to pass a dynamic URL for new BrowserWindowOpener(dynamicURL) ?

SQL Query Where clause slows down query

sql

I use to write query like this: