Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Web Submit POST. How do I get the data

Posted on 1997-07-02
1
Medium Priority
?
190 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 200 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

Independent Software Vendors: 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

877 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