Solved

How to use Delphi create WIN-CGI?

Posted on 1997-04-12
3
579 Views
Last Modified: 2013-12-25
Dear all,
    I use WinNT and WebSite is web server. Last time I create DOS-CGI , this cgi output at console, it work.
But now I want to know how to create win-cgi by delphi?
Who can help me?...  :-)
Thank,
0
Comment
Question by:b36kws
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
buemoh earned 50 total points
ID: 1827895
Hallo,

I've written a small CGI-component for Delphi 2.x, which supports at the moment, DOS-CGI, WIN-CGI and ISAPI (not full support).

If you'll need it, please send an e-mail back to me and you'll get the compiled version which is free, only source is shareware.

Bye

Hartwig

    /   /        /__ /__ /      A-1190  Vienna / Austria
   /__ /        /   /   /      Weinberggasse 60/9/7
  /   /        /   /   /      phone: 0043 (222) 32 83 87
_/  _/artwig _/  _/  _/OTAL  e-mail: moh@bue.magwien.gv.at
0
 
LVL 5

Expert Comment

by:julio011597
ID: 1827896
Sorry for the intrusion,

but, buemoh, could you at least explain the principles of your work?
(i don't mean you to explain how to make components in Delphi, just how to go with WIN-CGI (and ISAPI?))

Thanks, julio
0
 
LVL 1

Expert Comment

by:buemoh
ID: 1827897
As an information:

WebSite W3 server passes CGI-server-variables within an windows .INI file to your WIN-CGI program. In the .INI file, which you'll get as first commandline argument, you'll find different sections holding the information of the server variables, normaly passed via environment variables, and also the information of any form-field. The output you've to create should be written in a output-file, which is also defined in the .INI. Some interesting features are, that large form-field values are passed in some extra files. For more details, please send an e-mail and I try to explain everything I know about WIN-CGI, but there's a very good book from O'reilly called "Build your own WebSite".

NOTICE: WebSite has some new and/or different variable names defined.


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
This article will show, step by step, how to integrate R code into a R Sweave document
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

932 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

14 Experts available now in Live!

Get 1:1 Help Now