ic75
Новичок
<html>
<body>
<div style="position: absolute; width: 631px; height: 352px; z-index: 3; left: 162px; top: 142px" id="layer3">
// ВОТ СЮДА НУЖНО ЗАГРУЖАТЬ СОДЕРЖИМОЕ ФАЙЛА
</div>
<div style="position: absolute; width: 122px; height: 351px; z-
index: 3; left: 803px; top: 142px" id="layer4">
<?php
$dir = "../midi";
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (false !== ($file = readdir($dh )))
{
echo '<a href='."../midi/$file".'>'."$file".'</a><br>';
}
closedir($dh);
}
}
?>
</div>
</body>
</html>
<body>
<div style="position: absolute; width: 631px; height: 352px; z-index: 3; left: 162px; top: 142px" id="layer3">
// ВОТ СЮДА НУЖНО ЗАГРУЖАТЬ СОДЕРЖИМОЕ ФАЙЛА
</div>
<div style="position: absolute; width: 122px; height: 351px; z-
index: 3; left: 803px; top: 142px" id="layer4">
<?php
$dir = "../midi";
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (false !== ($file = readdir($dh )))
{
echo '<a href='."../midi/$file".'>'."$file".'</a><br>';
}
closedir($dh);
}
}
?>
</div>
</body>
</html>
