Tony said:
I'm looking for some ideas on how to make a c++ program to execute a
php file and receive the output from the php script into the c++
program for processing within the c++ program ?
Is that a question.
C++ language does not define "php script" or "php file". There is
nothing in the language itself that tells us how to "execute" them.
You most likely need to post your question (or statement, I haven't
figured it out yet) in a newsgroup that deals with PHP or your OS.
Running another program is only possible in standard C++ through
the function 'system'. Obtaining any output of that is not possible
at all, unless some OS-specific mechanisms are employed, like pipes.
But that's all off-topic in a language newsgroup, sorry.
V