Solved

How can I run a cgi script without going online

Posted on 1997-12-30
2
174 Views
Last Modified: 2013-12-25
I am doing this project right now that involves a remote computer where an individual will be able to look at a web site.  The computer cannot be online though, and I need to find out a way that the cgi script I am going to write will take all of the results and store them on the computer.  It cannot go online at any time during this process though.  I have though about getting some server software and just setting up the computer as a server, but I would much rather find a more simple solution.
0
Comment
Question by:madhuprem
2 Comments
 
LVL 7

Expert Comment

by:faster
Comment Utility
can you explain your question more clearly?
0
 
LVL 5

Accepted Solution

by:
icd earned 100 total points
Comment Utility
If it is for your personal use then server software is not really a big issue. PWS (Peer/Personal Web Server) from Microsoft is very easy to install. I use it to test my own web pages and scripts out locally before downloading them. (Works on Win95 and NT).

If you want other people to browse a web site (held on CD-ROM for example) which contains scripts then I am afraid there is no simple solution. I have been looking for an alternative solution for some months. Browsers will not automatically execute scripts that are local without some server software running. The default action is to try and display the script rather than execute it.

If you just want to run scripts locally then you can do so from the command line ( perl myscript.pl >temp.html ). This puts the output of the script, that would normally go to the browser, into a temp file which can then be viewed from the browser. I think that this approach is unlikely to answer your question however.

0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

762 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

14 Experts available now in Live!

Get 1:1 Help Now