Solved

What would it take?

Posted on 2002-06-06
2
162 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
2 Comments
 
LVL 12

Accepted Solution

by:
Lee_Nover earned 100 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

Industry Leaders: 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!

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

740 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