tirumal b wrote:
Hello All

 This is where i encounter the problem
$hostin="122.122.122.122";
$l=system('ssh '.$hostin.' ls');
echo $l;


The above one does not work at all but if i hardcode


$l=system('ssh 122.122.122.122 ls');


You should post your real code (cut&paste), the above examples are identical.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to