Posted: Thu Jan 17, 2008 12:05 pm Post subject: C++: Downloading server response to string
Hello there,
I have been learning C++ for some time now but I'm still staying in console-oriented programming for now. I'm trying to implement a simple login script that connects to predefined PHP script with (maybe GET protocol) username and password, which server analyzes and sends response whether the login was correct or if it has failed.
As I have coded in C# previously, I'm going to post here what the connection snippet should look like:
Obviously I could do this with C# but the point is to learn C++ so...
What I'm asking is just some advice with the server connecting part as I'm doing this as a practice for future use. I tried googling first but with no good success. I'm thankful for ANY advice as I'm nearly stuck with this issue.
Okay thanks, I'll check that link now. I'll keep you posted..
EDIT: I googled a bit more and found this library called "libcurl". Maybe that is what I'm looking for. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum