I want PHP notification to the EXE a URL, let exe after the operation to return a string to PHP

Source: Internet
Author: User
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

  • Related Article

    Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.