Solved

testing CGI's

Posted on 1999-01-20
5
231 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this tutorial I will aim to show you how simple is making a small application in WhizBase, how to add, remove and update data in the DB. I will make a small address book application where you can add, browse, update and remove addresses. I wi…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to dynamically set the form action using jQuery.

744 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

15 Experts available now in Live!

Get 1:1 Help Now