I have a PHP script that generates a product key for an application written in c++/MFC. The product key is email to the user and the user copy and pasts it in to my application.
I'm looking for a way to decoded the output of the php function in C++/MFC.
so, i suggest you write a php page that gives some parameters (data) and then takes the result. so, your MFC application can send data using HTTP POST method to send encrypted data and your php should give back decoded data to MFC data.