Solved

perl program on cgi bin

Posted on 1997-11-17
2
364 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
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Ever wondered how to display how many visitors you have online. In this tutorial I will show you an easy but effective way to display the number of online visitors in WhizBase. In this article I assume you have read my previous articles and know …
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 strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
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 …

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now