Mail Archives: djgpp/1998/01/23/09:17:19
S. M. Halloran wrote:
>
> A message from another list. I would like to know if someone on
> THIS list has the answer to this question myself.
>
> ------- Forwarded Message Follows -------
> Date: Tue, 20 Jan 1998 19:37:50 -0500
> From: TheTool <thetool AT INAME DOT COM>
> Subject: CGI Programming
> To: CLANGSRV AT asu DOT edu
> Reply-to: TheTool <thetool AT INAME DOT COM>
>
> How do I start programming in CGI? I want to write my own CGI
> scripts, but a friend has told me that, since I run Win95, I cannot.
> Is this true?
>
> If it is possible to Program CGI scripts in Win95, HOW? What program
> do I need?
you start programming in CGI by reading one of the many on-line manuals
available and installing a web server that supports standard CGI on your
computer. that way you can compile and test without necessarily being
connected. try to get a server that supports a debug option for CGI
scripts which captures the input, output and errors generated by your
CGI script with windows web servers, one can also use winCGI (again, do
a web search) which makes use of stock windows ini file functions to
make the programming somewhat more straightforward (that said, there are
great libraries for CGI programming on the net.)it also means that your
scripts can be Win32 console apps which (i think)require fewer resources
to spawn. it has the added advantage that your cgi script can start life
as an, say, excel document.
i wrote 3-4 CGI scripts with DJGPP, DJGPP+RSXNTDJ, and MSVC 4.2. that
is, i would write the standard script in djgpp, convert it to winCGI
using DJGPP+RSXNTDJ and then test using both that and the MSVC version.
i am not very proud of the scripts, but they worked.
incidentally, my thanks go to rainer schnitker who put together the
rsxntdj package. i would like to point out that contrary to what i have
been seeing in this group lately, i thought the installation was a
breeze. it took less than 10 seconds after unzipping and reading the
appropriate instructions in the help file. so, please read the docs.
finally, for a selection of web servers, try any tucows mirror. there
are several that are freeware, and there is one that i know of with a
GNU license at http://www.wpi.edu/~zik/fnord/ and there is some
information to get you started at
http://www.wpi.edu/~zik/fnord/doc/cgi.html
i think my favorite server is sambar at http://www.sambar.com/. that web
site is loaded with documentation.
hth.
--
----------------------------------------------------------------------
A. Sinan Unur
Department of Policy Analysis and Management, College of Human Ecology,
Cornell University, Ithaca, NY 14853, USA
mailto:sinan DOT unur AT cornell DOT edu
http://www.people.cornell.edu/pages/asu1/
- Raw text -