Re: Overriding string concatenation '.'

From: Date: Wed, 12 Nov 2003 19:56:30 +0000
Subject: Re: Overriding string concatenation '.'
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-169349@lists.php.net to get a copy of this message
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.

« previous php.general (#169349) next »