Solved

testing CGI's

Posted on 1999-01-20
5
247 Views
Last Modified: 2013-12-25
How can I run and debug CGI's on my home computer? This would save me time and I wouldn't have to hog the phone line. I have P120 win95b, or NT4.0 48M ram IE4, Netscape 3.
0
Comment
Question by:pcain
  • 3
  • 2
5 Comments
 
LVL 7

Accepted Solution

by:
jconde earned 100 total points
ID: 1832365
You can install a webserver (i.e. Microsoft's Personal Web Server, Apache for Windows, etc) in one of the Windows Machines and try it out there.  If you're cgi will be running on a linux/unix environment, you will have to make minor changes (Unless your cgis are very complicated) in the source code in order to compile them.

Another way is to develope a small funcion that will read environment variables from the system and an application that will set them.

Regards,

Jorge del Conde
0
 

Author Comment

by:pcain
ID: 1832366
I will download one of these and give it a try, I work entirely on a Unix ISP, but don't want to limit my scripts just to this OS.  They aren't very complex so I suppose if they work on personal server or even better (I guess) Apache, they will work on Unix.  
0
 
LVL 7

Expert Comment

by:jconde
ID: 1832367
They probably will, specially if you use ANSI C or ANSI C++.  Perl will do the thing too!

If you have any problems, please get in touch with me.

Regards,

Jorge
0
 

Author Comment

by:pcain
ID: 1832368
Thanks man...
0
 
LVL 7

Expert Comment

by:jconde
ID: 1832369
No problem!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
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.
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

820 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