Code : Tout sélectionner
<html>
<body>
<?php
$fichiers=scandir('image');
foreach($fichiers as $x);
{
$data=file_get_contents('image/'.$x);
sleep(10);
echo '<img src="<?php echo $data ?>" style="width:304px;height:228px">';
sleep(5);
}
?>
</body>
</html>