View Single Post
Old 02-15-2012, 11:30 AM   PM User | #1
alandor
New to the CF scene

 
Join Date: Feb 2012
Location: Sweden
Posts: 9
Thanks: 2
Thanked 0 Times in 0 Posts
alandor is an unknown quantity at this point
Display folder content on site

Hi,
I'm workning on a site where my client wants a page with a bunch of reports in pdf-format available for download. He'd like to just be able to put all of these pdfs in a folder on the server and have them automatically added to the html of the given page. (It needs to be easily updated with new reports.)

Is this easily done with php? My php knowledge is very limited but I imagine I can't do it with javascript.

I'm using drupal and found that the file_scan_directory function might be what I'm looking for but I'm not sure how to implement it.
alandor is offline   Reply With Quote