hello,
to share some files with friends, i created a directory under my website and uploaded several folders under that directory. each folder contain the files i want to share.
but when i type the path to the main directory, it says 403 forbidden. how can i automatically list folders under the main directory? and i want them to be clickable so that once they click on the folder name they should be able to see the files under the folder that they clicked.
One option is to configure your web server to allow directory listings, or you can create a default page (e.g. index.php) to display the directory contents, making use of the glob() function, perhaps.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
Bookmarks