Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Need Help on Internet Programing

Need Help on Internet Programing

Scheduled Pinned Locked Moved C / C++ / MFC
helpphp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    manish patel
    wrote on last edited by
    #1

    Hello all, I am developing application to open http connection. I have used CInternetSession, CHttpConnection, CHttpFile to make Application. My Code is as Bellow: CInternetSession iSession; CHttpConnection *httpCon = iSession.GetHttpConnection(L"localhost", 80, L"", L""); CHttpFile *httpFile = httpCon->OpenRequest(L"POST", L"test/test.php"); BOOL x = httpFile->SendRequest(); This code works fine for me. Now the Problem is that i want to pass parameters using POST method to my request. So is there anybody who can solve my problem. Any help will be highly appreciated Thanks.

    Manish Patel. B.E. - Information Technology.

    A 1 Reply Last reply
    0
    • M manish patel

      Hello all, I am developing application to open http connection. I have used CInternetSession, CHttpConnection, CHttpFile to make Application. My Code is as Bellow: CInternetSession iSession; CHttpConnection *httpCon = iSession.GetHttpConnection(L"localhost", 80, L"", L""); CHttpFile *httpFile = httpCon->OpenRequest(L"POST", L"test/test.php"); BOOL x = httpFile->SendRequest(); This code works fine for me. Now the Problem is that i want to pass parameters using POST method to my request. So is there anybody who can solve my problem. Any help will be highly appreciated Thanks.

      Manish Patel. B.E. - Information Technology.

      A Offline
      A Offline
      Amar Sutar
      wrote on last edited by
      #2

      See this article http://support.microsoft.com/?kbid=165298[^] Use SendRequest to pass the parameters. :) Amar

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups