testing CGI's

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.
pcainAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
jcondeConnect With a Mentor Commented:
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
 
pcainAuthor Commented:
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
 
jcondeCommented:
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
 
pcainAuthor Commented:
Thanks man...
0
 
jcondeCommented:
No problem!
0
All Courses

From novice to tech pro — start learning today.