Solved

What would it take?

Posted on 2002-06-06
2
159 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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 this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

862 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now