Solved

How can I run a cgi script without going online

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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Powershell / new-object PSObject rows 2 466
Linux Scripting 3 144
Need some help with powershell script 5 55
Review of the nodejs code 1 16
Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
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…
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…

829 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