phpbar.de logo

Mailinglisten-Archive

[php] Probleme mit filesize()

[php] Probleme mit filesize()

Christian Kruse php_(at)_phpcenter.de
Fri, 4 May 2001 17:22:35 +0200


Hi,

On Fri, 4 May 2001 17:13:01 +0200
"Benjamin Lutz" <bennylutz_(at)_gmx.de> wrote:

> <?php
> $path="/mein/pfad/zum/verzeichnis/";
> $folder = dir($path);
> while ($datei = $folder->read()) {
> echo "<tr>";
> echo "<td><font face='Verdana' size='-1'>$datei</font></td>";
> $file_size = filesize($datei);
$file_size = filsize($path.'/'.$datei);
> echo "<td><font face='Verdana' size='-1'>$file_size</font></td>";
> clearstatcache();
> echo "<td>";
> echo "<div align='center'><font face='Verdana' size='-1'><a
> href='dateidelete.php?name=$datei'>l&ouml;schen</a></font></div>";
> echo "</td>";
> echo "</tr>";
> }
> $folder->close();
> ?>
> 

-- 
Gruss,
 Christian
 http://wwwtech.de


php::bar PHP Wiki   -   Listenarchive