Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Scripts, Running in PC with Win95 and

Posted on 1997-12-17
3
Medium Priority
?
132 Views
Last Modified: 2013-12-25
What I must to inorder to get scripts (perl and ...) work in my home PC, that is not a 'server'.
So I could test how my scripts work when run inside Netscape or IE. And before I transfer them into my homepage-location.
---ThankYou
0
Comment
Question by:TMan
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
icd earned 120 total points
ID: 1831676
You need to obtain Personal Web Server from the microsoft site and install it.

You then obtain the WinPerl program and install that. Both these steps are very straight forward.

The only difficult problem is that a change to the registry is often needed.

  Run regedit and look for the following entry.

  My
  Computer\HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Svc\Parameters\Script
  map

  you need an entry for .pl with the value
  "c\perl\bin\perl.exe %s %s" (or equivalent path)

  The main point being the two %s value (although only one can work)

  You also need to ensure that the directory running the scripts is set up to be executable using the
  administration page of PWS

0
 

Author Comment

by:TMan
ID: 1831677
Thanks icd,
but is that the only way...
Installing LARGE MicroSoftware to get small scripts running...?

I'll be back next year... 'll check/test your suggestions then.

MERRY CHRISTMAS !!!
0
 
LVL 5

Expert Comment

by:icd
ID: 1831678
I don't think that PWS is all that large?

There is another way but not so useful.

Run your perl scripts with

perl yourscript.pl >test.html

You can then load the test.html file using the 'file' option of your browser. It does not work for script requiring input, only for those creating output.


0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
This tutorial will discuss the log-in process using WhizBase. In this article I assume you already know HTML. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you might look at some of my other articles abo…
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month20 days, 19 hours left to enroll

810 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