nein.
Warning: Invalid argument supplied for foreach() in /usr/local/httpd/htdocs/rwzadm/menu/support/hardware/rwz-check.php on line 8
es stimmt immer noch nicht:
<?php
$dir=opendir ('./server');
while ($file = readdir ($dir)){
if (is_file($file))
$files[] = $file;
}
closedir($dir);
foreach($files as $handle)
{
$datei = file($handle);
print "<br><hr><I><b>Server:<U>".$handle."</b></I></U><hr><br>";
$a = "USER=";
$b = " Processor: ";
.
.
.
?>
wenn ich richtig gezählt habe ist line 8 "foreach($files as $handle)".
Was srimmt denn nicht ?
Danke