aperfectcircle
Programmer
I found a thread from a couple years ago that described what I need to do (display all the files in a folder), but the problem is that the code is not idiot-proof enough for me...
Here's the script that was posted before:
$folder=$fullfilepath;
opendir (FOLDER, $folder) ¦¦ die "Unable to open your folder.";
@filenames= readdir(FOLDER);
closedir(FOLDER);
I tried altering this a bunch of different ways, but I won't bother embarassing myself by posting my attempts...
Can anyone tell me what needs to be done with this to make it display (on the web) the files in a folder I specify?
I'm running Perl on Windows NT (I don't know if that matters or not in this case) and I know absolutely nothing about Perl.
Thanks
Here's the script that was posted before:
$folder=$fullfilepath;
opendir (FOLDER, $folder) ¦¦ die "Unable to open your folder.";
@filenames= readdir(FOLDER);
closedir(FOLDER);
I tried altering this a bunch of different ways, but I won't bother embarassing myself by posting my attempts...
Can anyone tell me what needs to be done with this to make it display (on the web) the files in a folder I specify?
I'm running Perl on Windows NT (I don't know if that matters or not in this case) and I know absolutely nothing about Perl.
Thanks