Run C++ script in PHP

Viewed 11996

I have a C++ program that needs to take data from a PHP script, process it, and return the data to my PHP script.

  1. How do you pass the values from PHP to C++?
  2. How do you run the C++ script? Do you have to compile it first some how?
  3. How do you get the values out of the C++ script?
2 Answers
Related