I was wondering how to send variables inside a C++ program (running as a client) to a PHP file on a server without having an Internet browser pop up. I would like the PHP file to process the data and do something with it, like add it to a MySQL database. Does anyone know how to write a C++ program that sends some variables to a PHP file?
Also, does anyone know how to make the PHP file send something useful (like the contents of a MySQL database) back to the C++ program? I'm going to assume that my second question is more difficult.