?
Solved

What would it take?

Posted on 2002-06-06
2
Medium Priority
?
167 Views
Last Modified: 2010-07-27
Hi All,
I have Delphi 4.
Here is what I want to do:

I want people to fill in their information once. Then, use the HTML control to go to my site and fill in the form with the information they previously filled in.

I was thinking parsing the form out of the HTML code and regenerating the form and submitting that.

OR

Have a control frame and use javascript to post to the "form" frame.

Any ideas? I just want theories really.. maybe a bit of code to illustrate?
0
Comment
Question by:maxb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
Lee_Nover earned 400 total points
ID: 7060995
if you have small amount of fields then you could make smth like :
an ISAPI dll for the server or a cgi app ..
so y0u simply call your url with params like:

const base = 'http://url.com/isapi/parseuser.dll/parse?';
var query: string;
begin
  query:=Format('user=%s&password=%s', [Username, Password]);
  WholeURL:=Format('%s%s', [base, query]);
  Browser.Navigate(StringToOleStr(WholeURL));
end;

that would navigate to a page passing the user and password params
in the isapi dll you check for those params
or whatever the server handler is
the syntax is the same for all (I think)
if you need info about isapi dlls then you can check out my example :
http://lee.nover.has.his.evilside.org/isapi/pas2html.dll/pas2html?File=/delphi/MiscFiles/pas2html_isapi_dll.pas
0
 

Author Comment

by:maxb
ID: 7061019
Wow, Im a web developer and that completely skipped my mind. Thank you.
0

Featured Post

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.

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

764 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