Web Submit POST. How do I get the data

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
martinHAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

buemohCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.