This is a discussion on Overriding string concatenation '.' within the PHP General forums, part of the PHP Programming Forums category; Hello All This is where i encounter the problem $hostin="122.122.122.122"; $l=system('ssh '.$hostin.' ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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. |