?
Solved

How to use Delphi create WIN-CGI?

Posted on 1997-04-12
3
Medium Priority
?
613 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
buemoh earned 150 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

770 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