Solved

Web Submit POST. How do I get the data

Posted on 1997-07-02
1
176 Views
Last Modified: 2010-04-06
If you are submitting data on a webside, the it appears that your Delphi aplication should read that information. You should be able to use stdin ( C??). How does this work in delphi. ( I know that it's easy in Delphi 3 pro version, but my bank does not agree to that ).

Thanks
0
Comment
Question by:martinH
1 Comment
 
LVL 1

Accepted Solution

by:
buemoh earned 100 total points
ID: 1338064
Dear martinH,

that's easy, but may be different on some httpd server.

Build a consol application using the compiler directive

{$APPTYPE Console}

Read the data from StdIn with this line:

read( strStdInLine )

where strStdInLine is a string variable.

If you want an easier way, please e-mail for my free Delphi 2.0 TCGIcomponent, which supports CGI-BIN, WIN-CGI, ISAPI extension DLLs and Alibaba CGI extension DLLs.

Hope it helps

Bye
Hartwig

-----------------------------------------------------------
///\\\ Hartwig MOTAL ///\\\  e-mail: moh@bue.magwien.gv.at
 Weinberggasse 60/9/7, A-1190  Vienna/Austria/Europe

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

685 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