Solved

How can I run a cgi script without going online

Posted on 1997-12-30
2
179 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
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PowerShell Get-Help 10 76
need a quick help to fix the script logic 4 70
Choosing the right PHP framework for web develpment 8 103
Need a good Angular tutorial 5 81
It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
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…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

770 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