Solved

How can I run a cgi script without going online

Posted on 1997-12-30
2
192 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Expert Comment

by:faster
ID: 1831785
can you explain your question more clearly?
0
 
LVL 5

Accepted Solution

by:
icd earned 100 total points
ID: 1831786
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

724 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