Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl script- unix filesystem

Status
Not open for further replies.

pgmr12

Programmer
Jan 8, 2005
3
US
I am new to cgi and perl.
I am trying to write a cgi script in perl to find information about the unix filesystem. this script should run when a link is clicked from an HTML page and should show the result on the webpage.
Any help would be greatly apreciated,
Thanks in advance.
 
Please show what you've done so far. We'll be more than happy to help you where you're stuck to better your understanding of the language.

- Rieekan
 
also crossposting isn't nice
CGI Forum as well


cigless ...
 
if your server is configured to run cgi scripts in lets say


and your script is named 'my_cgi.pl' or 'my_cgi.cgi'

then a simple link will do
Code:
<a href="/my/path/to/cgi-bin/my_cgi.pl">My CGI Script</a>

Now i dont think many of us understood, what exactly is that you want to do.
What is it that your cgi script should do? [red]In detail[/red]

And what exactly is your problem :

you can't link the 'link' to your cgi?
your cgi script does run?
your cgi script doesn't do what it was expected?
you don't know how to write your script, to do what you want?
and what do you want it to do?

Do you see how many unaswered questions you left when you made the post?


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top