<?php
$dir = "/img/";//Откуда
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
echo "<img src="$file" /">;
}
closedir($dh);
}
}
?>
<?php
$dir = "/img/";//Откуда
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
echo "<img src="$file" /">;
}
closedir($dh);
}
}
?>