Function for posting HTML form

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.)
Who is Participating?

Improve company productivity with a Business Account.Sign Up

Amritpal SinghConnect With a Mentor Commented:
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:)
Amritpal SinghCommented:
plz have a look at the following link
may be it''l help a bit
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

nk2003Author Commented:
I had looked those links, but I didn't get what I want.
Can you just give me the function plz.
Amritpal SinghCommented:
nk2003Author Commented:
Sory, I forgot to tell that, the function also can receive respone from the server (in HTML).
amrit_82:  Can you translate to VC++? can it receive respone from server?
Amritpal SinghCommented:
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

nk2003Author Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.