Discussion thread file upload path problem

Xiaobai kneels and thanks

I encountered a problem recently. After a user uploads a file, other users can download and view it. We use a Linux server. My idea is that there is a folder in the Linux root directory, but I don’t know how to get the path of the root directory under Linux. , because the development environment is Windows, so the path is written in the path under Windows (the setting also has a drive letter ==!), and this folder cannot be accessed by anyone, there is no idea at all, I hope Niu pointing the way

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324439285&siteId=291194637