ehh.. nie wiem po co, proszę tylko o jedną funkcje, ale proszę bardzo..
$stream[0] = ssh2_exec($connection, "cat $ssh_dir/$user_name/ventrilo_srv.ini | grep Name");
$stream[1] = ssh2_exec($connection, "cat $ssh_dir/$user_name/ventrilo_srv.ini | grep Comment");
$stream[3] = ssh2_exec($connection, "cat $ssh_dir/$user_name/ventrilo_srv.ini | grep Password");
$stream[4] = ssh2_exec($connection, "cat $ssh_dir/$user_name/ventrilo_srv.ini | grep Auth");
$stream[5] = ssh2_exec($connection, "cat $ssh_dir/$user_name/ventrilo_srv.ini | grep VoiceFormat");
$stream[6] = ssh2_exec($connection, "cat $ssh_dir/$user_name/ventrilo_srv.ini | grep AdminPassword");
$stream[7] = ssh2_exec($connection, "cat $ssh_dir/$user_name/ventrilo_srv.ini | grep Duplicates");
$pName=stream_get_contents($stream[0]);
$pComment=explode("\n", stream_get_contents
($stream[1
])); $pPasswordall=explode("\n", stream_get_contents
($stream[3
])); $pPasswordAdmin=explode("=", stream_get_contents
($stream[6
])); $pPassword=explode("=", $pPasswordall[1
]); $pAuth=explode("=", stream_get_contents
($stream[4
])); $pFormat=explode("=", stream_get_contents
($stream[5
])); $pDup=explode("=", stream_get_contents
($stream[7
]));
odpowiada to za pobranie wartości, wszystkie nie wkleiłem (jeżeli ktoś by chciał się przyczepić) powiem tylko, że całość działa.