Solved

Web Submit POST. How do I get the data

Posted on 1997-07-02
1
167 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

832 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