On 2020-05-06 18:40, Andrew Ramage wrote: > I am still bug hunting, but am also looking at the second part of the site. Is this right ? > > while (($file = readdir($musicdir)) !== false){ > echo $file . "<br>"; > > </script> > > readdir returns a directory i.e. array of file names. You need to pick one and then open file and read file. Beware the . and .. entries. Dick