Note that there are some explanatory texts on larger screens.

plurals
  1. POList the files in a directory and form link for download
    primarykey
    data
    text
    <p>I am making a resource directory for my college. I don't know PHP and I am learning things along the way. I have created the upload part successfully using dynamic dropdown lists. I have added 3 levels, first to choose which stream/dept, then which semester and then which semester, and on clicking upload, the files goes to the desired directory correctly.</p> <p>Now, I want to know how to display all the files that are being uploaded? They are all in the directory. How do I list them and show my users/visitors so that they can choose what to download? The example I have attached only has 2 engg streams, 2 sems under both, and 2 subjects under each sem. I want to list out all in a segregated way. Say a page that has CSE/SEM1/ Data Structures/all the files under this category, another page has CSE/SEM2/Networks/all the files under this category. And not only list out but also form a link so that they can download it.</p> <p>My index page is there right?. It has a download page navigation. I want users to click that. On clicking that, they get redirected to page similar to the upload page with dynamic drop downs. They choose the stream, sem and subject and click next. (I have to make that page) They get redirected to a page which shows the list of all the files in THAT directory (stream/sem/subj/allfiles) alone. Also the list must be linked, so that on clicking that file name, they get to download the file which they want or have a download option next to the name. </p> <p>Please check my attachment/link and please help me overcome this problem at the earliest.</p> <p><a href="http://www.mediafire.com/?hevt1f4a1rpbyvp" rel="nofollow">http://www.mediafire.com/?hevt1f4a1rpbyvp</a></p> <p>Thank You :) </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload