RE: [PHP] Overriding string concatenation '.'

From: Date: Wed, 12 Nov 2003 19:36:50 +0000
Subject: RE: [PHP] Overriding string concatenation '.'
Groups: php.general 
Request: Send a blank email to php-general+get-169348@lists.php.net to get a copy of this message
[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;

« previous php.general (#169348) next »