<html>
<head>
<title>Listing de contenu d'un Répertoire</title>
</head>
<body>
<?php
// Le répertoire courant
$nom_repertoire = ".";
$dI = opendir( $nom_repertoire );
while ( ! is_bool( $fichier = readdir( $dI )) )
{
print "$fichier<br/>";
}
closedir( $dI );
?>
</body>
</html>