I want PHP notification to exe a URL, let exe after the operation to return a string to PHP
Source: Internet
Author: User
I want PHP notification to the EXE a URL, let exe after the operation to return a string to PHP
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.
------to solve the idea----------------------
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
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.