connections.csv";
$output = shell_exec($shellcommand2);
?>
|
|
|
|
";
$col = preg_split( '/\s{2,}/', $row, -1, PREG_SPLIT_NO_EMPTY );
// var_dump( preg_split( '/\s{2,}/', $row ) );
$n = 0;
$id = 'oi';
foreach ($col as $c)
{
$n+=1;
echo "$c | ";
if ($n==1)
{
$id=substr($c, 0, -1);
}
}
echo "";
}
// (C) CLOSE CSV FILE
fclose($stream);
?>