Contacting PHP

*****************************
Last edited on
Are you talking about a local php file, or one on a webserver? PHP is exectutted serverside, then sent as html text. So you will need to do an HTTP GET request for the address of your php page
***********************************
Last edited on
If i remeber correctly, an http get request is basically a TCP connection at the ip of the server on port 80, with a text sent looking like "GET wantedaddress". You then get the html text as a response
Instead of coding it yourself you can get the pretty reliable cURL libraries. Search for curl and you will find it. It is an open source libraries that help your program to do HTTP GET POST etc request. It also help you parse the response back too.
Oh man, I'm having a very similar problem!
See my link:
http://www.cplusplus.com/forum/general/47772/

I am using curl, and it's quite powerful and easy to use. I recommend it.

My problems are more specific than yours. You could take a look at other gurus' replies, if any, and I guess it will help.
Topic archived. No new replies allowed.