Process
When the customer browses the Web page, I enter a URL, I use Ajax to notify EXE this URL, and then return a corresponding string to the client is browsing the page.
The client confirms this string on the Web page.
I'm not sure how to use PHP to notify the EXE string.
EXE callback information to PHP and in what way better.
Note: The Web server is Linux, which means that EXE and the Web server are not a host computer.
Reply to discussion (solution)
EXE and Web server are not a single host
So EXE should have a Web server on the machine, and the EXE should work in CGI mode
can be accessed using file mode, curl, sock
If it is on the same machine, it can be called with the system function (note permissions)
EXE can only output data to standard output, otherwise PHP cannot receive
EXE and Web server are not a single host
So EXE should have a Web server on the machine, and the EXE should work in CGI mode
can be accessed using file mode, curl, sock
If it is on the same machine, it can be called with the system function (note permissions)
EXE can only output data to standard output, otherwise PHP cannot receive
Why EXE should have a Web server on the machine. Don't understand.
You cannot access files on another machine on one machine because you do not pass the service