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);
?>
devices.csv";
$output = shell_exec($shellcommand3);
?>
|
|
|
|
";
$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);
?>
ssids.csv";
$output = shell_exec($shellcommand2);
?>
SSID |
RATE |
BARS |
SEC |
";
$col = preg_split( '/:/', $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);
?>