How to use php to call external programs (such as generated exe written in c++)
小楼2020-12-04 10:53:27
0
2
1641
I would like to ask the experts, I want to make a web page, for example, input two numbers on the web page, and then PHP calls a program written in C to return the result of the sum of the two numbers to the web page, thank you~
Just open the system function in php. It is generally not recommended to enable it in a production environment as it may cause security issues
Form the data return value of c into an interface and use PHP to adjust it