Solved

perl program on cgi bin

Posted on 1997-11-17
2
369 Views
Last Modified: 2013-12-25
how can i read a perl program that is already on a cgi bin in another server
0
Comment
Question by:rtt
[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 1

Accepted Solution

by:
twexperts earned 100 total points
ID: 1831274
If your looking to run the script:
Quite simply you can just call it with the url to it
eg: www.whatevercompany.com/cgi-bin/script.cgi
However there are two things which you should do:

1) Verify with the owner/maintainer that it is ok with them that you use the script/resource (not everyone does this).
2) Know what the script is expecting as input, eg, what values correspond to what named input variables.

You can find out the correct usage of the scipt by viewing the html source that calls it, do this in your browser by clicking on view,and then source, when on the page that calls the cgi program.

or

If your only looking to take a look at the perl souce, then you could try acessing the cgi-bin without any filename, if this brings up a directory structure, then your in business, and you can download, or view the actual scripts themselves. Otherwise you'll probably have to ask the owner for it. A lot of sites have programs which call the cgi program securely, so that no-one can get in and edit them for their own needs, such as outputting the passwords file.

I hope this helps,
Robin (twexperts)
0
 
LVL 1

Author Comment

by:rtt
ID: 1831275
is there any other way?
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
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…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

730 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