[snip]
This is where i encounter the problem
$hostin="122.122.122.122";
$l=system('ssh '.$hostin.' ls');
echo $l;
[/snip]
Then your code should read
$hostin="122.122.122.122";
$l=system("ssh $hostin ls");
echo $l;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

