I'm trying to send variables from a program in C++ to php for it to process. Then I want to be able to get the output of the php code. Is there any way to send variables from C++ to PHP and back? Maybe using something like POST variables? I know how to do this in flash, but I was wondering if there is a C++ equivalent.
I think the best way to do this would be to use the PHP executable file and execute the PHP scripts with the needed params and output can be a redirect URL which you can read it.