Hello All
I have an ip addr in a variable. I use 'ssh'.$ipaddr.'command' in a php file
if $ipaddr = "192.168.1.100" then
echo 'ssh'.$ipaddr.'command' will be ssh192.168.1.100command
what you probably wanted was
'ssh '.$ipaddr.' command'
which would result in
ssh 192.168.1.100 command
and would take care of your "concatenation" problem.
-- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com ----------------------- "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing."
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php