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!

Invoking Shell Script

Status
Not open for further replies.

thendal

Programmer
Aug 23, 2000
284
Hi, I have a html page where user enters a parameter.

------
html page...

<input type=text name=username>

--------
a CGI script which retreives the username

ie)
---------------
$op=new CGI;
$username=$op->param('username');
--------
and then connects to another server using Net::SSH::perl
run a command in remote server using the parameter i recived via the html page.

When i test the script from the command line without the cgi part.. just by passing the parameter through command line it works...

could someone shed some light on this ...

Thank you





 
without seeing your code I doubt much light will be shed. ;)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top