|
-
May 26th, 1999, 12:48 PM
#1
How do I get the POST/GET data in CHTMLView?
How do i get to the parameters of a FORM post/get in CHTMLView or the Web browser control. I want to react to a submit button in an embedded browser.
-
July 16th, 1999, 03:26 PM
#2
Re: How do I get the POST/GET data in CHTMLView?
If it was the POST method, you receive a single string, with the variable separated with an & ( like name=me&address=here,...)
If it was the GET method, you will have to browse thru the array of the environment variable like : environ[i] ...
Good luck ...
Quia nominor leo.
-
July 16th, 1999, 03:44 PM
#3
Re: How do I get the POST/GET data in CHTMLView?
Actually, it's the other way around.
However, I'm not sure what you're trying to do. Do you want to react to the form fields on the client or the server?
If on the client, the easiest way would be to use javascript on the page. Or use the DHTML Document Object Model to get the form values in C++.
Easiest way to do this is use the BeforeNavigate2 function. One thing it's passed is the POST data. GET data will be in the URL, and can be parsed out rather easily.
Ryan
NeoWorx Inc.

Makers of NeoTrace, NeoLite, and other upcoming products
http://www.neoworx.com/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|