Where should i store uploaded files in server?
<p>i am learning php as well as doing a project that involves uploading files to the server. My goal is to make it as secure as possible so where do you recommend saving all the uploaded files. The files to be uploaded will all be pdf files. I read somewhere it's better to save uploaded files outside document root and in some other place i read it's not easy to access files outside document root from php so i am very confused. Any help towards best practice to overcome this situation is appreciated! Thanks!</p>
