Solved

Web Submit POST. How do I get the data

Posted on 1997-07-02
1
159 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
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 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

6 Experts available now in Live!

Get 1:1 Help Now