PHP Script to list files in directory?

  • Thread starter Thread starter kyle
  • Start date Start date
K

kyle

Guest
I want a php script (index.php) that lists files in a specific directory directory line by line and next to each file has a link to 'Download' the file and a link to 'Delete' the file. Having trouble doing this as I'm not PHP coder. Does not need to have authenication because the directory is already password protected. A bonus would be to be able to only include files w/ a specific regular expression (first few letters of file name and/or file extension).I used to have a script like this, but lost it and find anything like it. Everything I find is not enough or too much. Thanks
 
Back
Top