<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I am still bug hunting, but am also looking at the second part of
the site. Is this right ?</p>
<p><u>music.php</u></p>
<p><html><br>
<body><br>
<br>
<?php<br>
function getmusic()<br>
// Open a directory, and read its contents<br>
{<br>
var musicdir[];<br>
$dir = "Music/";<br>
<br>
if (is_dir($dir)){usicdir.push<br>
if ($dh = opendir($dir)){<br>
while (($file = readdir($dh)) !== false){<br>
echo $file . "<br>";<br>
musicdir.push($file);<br>
}<br>
closedir($dh);<br>
}<br>
return misicdir;<br>
}<br>
?><br>
<br>
</body><br>
</html><br>
</p>
<p><u>HTML file</u></p>
<p><script><br>
<br>
var array musicdir() = getmusic();<br>
<br>
while (($file = readdir($musicdir)) !== false){<br>
echo $file . "<br>";<br>
<br>
</script><br>
<br>
</p>
</body>
</html>