Click here to Skip to main content
15,909,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: pointer to a function Pin
@deel@bbas5-Jul-01 20:11
@deel@bbas5-Jul-01 20:11 
Generalchanging the cursor Pin
Alex Griffing5-Jul-01 18:09
Alex Griffing5-Jul-01 18:09 
GeneralRe: changing the cursor Pin
5-Jul-01 18:12
suss5-Jul-01 18:12 
GeneralRe: changing the cursor Pin
Alex Griffing5-Jul-01 18:20
Alex Griffing5-Jul-01 18:20 
GeneralDebuggung question Pin
Michael Martin5-Jul-01 17:30
professionalMichael Martin5-Jul-01 17:30 
Questionwhere is the mouse? Pin
Alex Griffing5-Jul-01 15:04
Alex Griffing5-Jul-01 15:04 
AnswerRe: where is the mouse? Pin
Tomasz Sowinski5-Jul-01 23:52
Tomasz Sowinski5-Jul-01 23:52 
GeneralHTTP Post Question Pin
Cabadam5-Jul-01 14:27
Cabadam5-Jul-01 14:27 
OK... I basically understand how the 'get' portion of a HTTP connection works... but now I have another question.

I am writing a program that will automaticalliy go through various CGI pages, entering the necessary input and parsing the output.

I should be able to handle the parsing, but my question lies in how exactly to 'post' the variables from a form to the CGI page.

EX: The first page has a form that posts a text field named 'Account' and a password field named 'Password' to "main.cgi".

I assume you would get a CHttpFile* that is to the main.cgi and do:

http_file->SendRequest

But it is here that I am not sure what to fill in...
What headers would I need to send? And MSDN says that the lpOptional would usually be the information for a POST operation... but what exactly would I put there?

Thanks for any help you can give!

Adam
cabadam@houston.rr.com
Generalifstream question Pin
5-Jul-01 13:10
suss5-Jul-01 13:10 
GeneralRe: ifstream question Pin
Christian Graus5-Jul-01 13:22
protectorChristian Graus5-Jul-01 13:22 
GeneralRe: ifstream question Pin
5-Jul-01 13:25
suss5-Jul-01 13:25 
Generalbasic c/c++ question (const related) Pin
Alex Griffing5-Jul-01 12:12
Alex Griffing5-Jul-01 12:12 
GeneralRe: basic c/c++ question (const related) Pin
5-Jul-01 18:20
suss5-Jul-01 18:20 
GeneralRe: basic c/c++ question (const related) Pin
Malcolm McMahon5-Jul-01 22:35
Malcolm McMahon5-Jul-01 22:35 
GeneralProcess Directory Pin
John Uhlenbrock5-Jul-01 11:26
John Uhlenbrock5-Jul-01 11:26 
GeneralRe: Process Directory Pin
Christian Graus5-Jul-01 12:15
protectorChristian Graus5-Jul-01 12:15 
GeneralRe: Process Directory Pin
John Uhlenbrock5-Jul-01 12:18
John Uhlenbrock5-Jul-01 12:18 
GeneralRe: Process Directory Pin
Christian Graus5-Jul-01 12:28
protectorChristian Graus5-Jul-01 12:28 
GeneralRe: Process Directory Pin
John Uhlenbrock5-Jul-01 12:32
John Uhlenbrock5-Jul-01 12:32 
GeneralRe: Process Directory Pin
Tim Deveaux5-Jul-01 13:28
Tim Deveaux5-Jul-01 13:28 
GeneralRe: Process Directory Pin
John Uhlenbrock5-Jul-01 13:30
John Uhlenbrock5-Jul-01 13:30 
GeneralRe: Process Directory Pin
Tim Deveaux5-Jul-01 13:40
Tim Deveaux5-Jul-01 13:40 
GeneralRe: Process Directory Pin
Mike Burston5-Jul-01 14:30
Mike Burston5-Jul-01 14:30 
GeneralRe: Process Directory Pin
Kannan Kalyanaraman5-Jul-01 23:10
Kannan Kalyanaraman5-Jul-01 23:10 
GeneralRe: Process Directory Pin
Mike Burston5-Jul-01 13:36
Mike Burston5-Jul-01 13:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.