From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: (Fwd) CGI Programming Date: Fri, 23 Jan 1998 08:01:59 -0500 Organization: Cornell University (http://www.cornell.edu/) Lines: 61 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <34C894C6.21422394@cornell.edu> References: <199801230705 DOT JAA13030 AT ankara DOT duzen DOT com DOT tr> NNTP-Posting-Host: cu-dialup-0073.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 > Subject: CGI Programming > To: CLANGSRV AT asu DOT edu > Reply-to: TheTool > > 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/