Go Premium for a chance to win a PS4. Enter to Win


Function for posting HTML form

Posted on 2004-10-01
Medium Priority
Last Modified: 2013-11-20
I need a function for posting html-form data in VC++
So the function parameter is URL address, data, and (the most important) PROXY SERVER address
(I had already found a function for posting form, but I cannot work behind proxy server.)
Question by:nk2003
  • 5
  • 3

Expert Comment

by:Amritpal Singh
ID: 12206427
plz have a look at the following link
may be it''l help a bit

Author Comment

ID: 12207372
I had looked those links, but I didn't get what I want.
Can you just give me the function plz.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

by:Amritpal Singh
ID: 12210650

Author Comment

ID: 12211006
Sory, I forgot to tell that, the function also can receive respone from the server (in HTML).
amrit_82:  Can you translate http://www.developerfusion.com/show/3272/3/ to VC++? can it receive respone from server?

Expert Comment

by:Amritpal Singh
ID: 12214924
plz don't mind if i ask whether or not u know the concepts of POST and GET.
plz have a look at the following link


then try to work with the previous link
they are windows API calls that u can make in ur VC++ program.
IF u r still unable to figure out ,plz tell me
i'll be happy to solve the prob


Author Comment

ID: 12225080
Maybe my concept about POST and GET is wrong, but let's make it simple...

I have a website which has submit form,
when I click summit button, the browser sends that data to server, then my server gives reponse html.
What I wanna do is,  make program to submit data, and get that respone, without opening browser.

Please help me,  write the function (VC++) for me plz

Accepted Solution

Amritpal Singh earned 500 total points
ID: 12245857
ok i'll try to explain with the help of an example link

now , when u POSt data from a web from it goes something like this


so the form data is posted to the server with a "?" and the 'variable = value'  pairs separated by '&'
now, in your case try to figure out the variable (or post data) names
now the link i'm sending to u this time is exactly what i've explained here
just replace the "strFormData" in the example with the POst data in ur address (link)

i hope this'll work
the link is
Best Of Luck:)

Featured Post

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question