0

Possible Duplicate:
Saving a webpage to disk using C++

I am trying to grab text from an authorization php script I made. What the script does is check GET vars for a username and password and depending if the user/pass combo is correct returns a string and if not correct another string.

My question is, how do I in c++ query the website with the get url's, then fetch the string.

Thanks.

Community
  • 1
  • 1
Pat
  • 649
  • 7
  • 23
  • http://msdn.microsoft.com/en-us/library/aa385483(VS.85).aspx –  Dec 07 '11 at 03:47
  • 1
    The usual answer for almost any question about "how do I fiddle with URLs in (C|C++)" is [libcurl](http://curl.haxx.se/libcurl/). – Jerry Coffin Dec 07 '11 at 03:49

1 Answers1

0

You can use an client side library like libcurl for the http.

Alok Save
  • 196,531
  • 48
  • 417
  • 525