diedVIPs

html knowhow

Verzeichnis - Inhalt und Größe








 script © 2013 by webdesign weisshart


Verzeichnis - Inhalt und Größe

So sieht´s aus

Es ist 16 Uhr und ich begrüße dich mit: Guten Tag!

Wählen sie ihre Lieblingsfarbe:
Der Farbcode lautet:
Quellcode

<html>
<head>

<style type="text/css">Hier nichts</style>
</head>

<body >
<table align="center" style="width: 30%">
<tr><td class="auto-style30">
<?php
$path = "../Extra/txt/"; // "" current directory
echo("<p style='font-size:1.2em; '>Inhalt des Verzeichnisses <b>$path</b></p>");
if ($handle = opendir($path)) {
while (false !== ($entry = readdir($handle))) {
if(is_dir($entry)) { echo " $entry<br>"; }
else { echo "<b>" . $entry . "</b> hat " . filesize($path.$entry) . " Buchstaben <br>"; } }
closedir($handle);}
?>
</td></tr>
</table>
</body>

</html>






Kontakt    Datenschutz   Impressum