Run windows command in php

前端 未结 5 921
梦毁少年i
梦毁少年i 2021-02-08 15:20

Is it possible to run windows command line code from php ? My windows command line code is:



        
5条回答
  •  情深已故
    2021-02-08 15:52

    If you can't run the command directly in exec(), then what you can do is make a batch file with the command and place it on the root of your website. Then, just run:

    
    

提交回复
热议问题