Ja, sollen wirklich nur diese beiden Werte sein...
PHP-Code:
<html>
<head></head>
<body>
<?php
$f=file("z:lic.txt");
for ($i=0; $i<10000000; $i++) {
$f[$i] = trim($f[$i]);
if(empty($f[$i]))
continue;
if (strstr($f[$i], 'Total of')) {
preg_match_all("/Users of (.*):.*Total of (d*) licenses? issued; Total of (d*) licenses? in use/isU", $f[$i], $temp);
$data[]=array('program' => $temp[1][0],
'issued' => $temp[2][0],
'used' => $temp[3][0]);
$vari=$temp[1][0];
$vari2=$temp[2][0];
$vari3=$temp[3][0];
echo "<center>$vari</center><center>$vari2</center><center>$vari3</center><br><br><br>";
}
}
exit;
?>
</body>
</html>
Das ist der original Quelltext, da soll es am Besten gleich mit rein, da es dann ja bei jedem Aufruf der Datei einmal ausgeführt wird.
(Die Werte dienen zu Auswertungszwecken)...