doa24uk Posted April 24, 2007 Share Posted April 24, 2007 Hi guys, For this example, my site is - http://www.none.com Lets say I have a folder on my server called /folder/ (I know, very original ) and in this folder I have the following files ... 1.zip 3.jpg 23.zip lol.mp3 special.doc (basically a random selection of all filetypes). What php code would I use to generate the following output :- http://www.none.com/folder/1.zip http://www.none.com/folder/3.jpg http://www.none.com/folder/23.zip http://www.none.com/folder/lol.mp3 http://www.none.com/folder/special.doc Many thanks for the help. DoA Link to comment https://forums.phpfreaks.com/topic/48522-print-all-filenames-from-a-folder-w-php/ Share on other sites More sharing options...
shaunrigby Posted April 24, 2007 Share Posted April 24, 2007 Lookup "Directory Handling php" (minus quotes) in Google, tons of results and tuts to help you Link to comment https://forums.phpfreaks.com/topic/48522-print-all-filenames-from-a-folder-w-php/#findComment-237386 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.