[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

perl program on cgi bin

Posted on 1997-11-17
2
Medium Priority
?
373 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 300 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

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…
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…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

649 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