Overriding string concatenation '.'
| From: | tirumal b | Date: | Wed, 12 Nov 2003 19:32:34 +0000 |
| Subject: | Overriding string concatenation '.' | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-169347@lists.php.net to get a copy of this message | ||
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');
The ip addr is just an example
Thank you
Tirumal
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree