<?php
$path = "d://songs/2013 songs";
// Open the folder
$dir_handle = @opendir($path) or die("Unable to open $path");
// Loop through the files
while ($file = readdir($dir_handle))
{
echo "<a href=\"$file\">$file</a><br />";
}
closedir($dir_handle);
?>
Download
No comments:
Post a Comment