Revision: 12620
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 21, 2009 08:43 by scalhoun2005
Initial Code
<?PHP $folder = "myFolderName/"; $handle = opendir($folder); # Making an array containing the files in the current directory: while ($file = readdir($handle)) { $files[] = $file; } closedir($handle); #echo the files foreach ($files as $file) { echo "<a href=$folder$file>$file</a>"."<br />"; } ?>
Initial URL
Initial Description
Initial Title
Display file list within Folder
Initial Tags
php, list, file
Initial Language
PHP