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:
erl
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
------
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:
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