title: Which is best way to store uploaded images in php website
body: <p>I am making the small finance management website in php. I have to store quite a few images for my application but i am confused where should i store them. My Scenario is</p>
  
  <p>The user will have </p>
  
  <ol>
  <li>Saving Account</li>
  <li>Fixed Deposit</li>
  </ol>
  
  <p>Now for Every Fixed Deposit i need to store the </p>
  
  <ol>
  <li>scanned image of that FD</li>
  <li>one or more images for source of money like Bank Cheques</li>
  </ol>
  
  <p>Now where should i store all those images. I mean</p>
  
  <ol>
  <li>Do I need to create folder for each user then each FD and then sources</li>
  <li>Or All images in one folder</li>
  </ol>