D
debbie523
I have a cgi script named test12.cgi
There is a line
$output=`ssh -l userName serverName echo hello`;
print $output;
(username is my account name, serverName is the server name)
test12.cgi is my action for try.php file. When I test this line through
browser, $output is nothing.
But if I execute test12.cgi in command window, it does print "hello"
Is there somebody could tell me why it does not show anything from the
browser?
There is a line
$output=`ssh -l userName serverName echo hello`;
print $output;
(username is my account name, serverName is the server name)
test12.cgi is my action for try.php file. When I test this line through
browser, $output is nothing.
But if I execute test12.cgi in command window, it does print "hello"
Is there somebody could tell me why it does not show anything from the
browser?