title: Directory Navigation with php and html
body: <p>I am trying to create visual directory listing with php and html for a website. I want to be able to set a location/path where music/movies/pictures are stored whether it is on a server or on my local machine. </p>
  
  <p>I want to show these items in a list and have the items have a onclick() function where it adds that folder name to the end of the path and shows all files in that directory, also have a back button that will take of the name of the last folder off the path and show the previous directory files.</p>
  
  <p>So I want to have an upload to be able to upload the path to the music/movies.</p>
  
  <p>I am basing this off of the program XMBC, which allows you to do this.</p>
  
  <p>Not sure if this can be done within a website or not.</p>
  
  <p>Thanks in advance for any answers.</p>