简体   繁体   中英

Storing uploaded files to NAS using PHP

I'm working on a website which allows users to upload pdf files. Is there a way to upload my pdf files to NAS using PHP? If there is, how? I have no idea where to begin.

Is your server Windows or Linux? After you have connected the NAS to your server (so that it has his own path) you need a php upload script that puts the files in that path.

Try to google: "Mount nas to [your OS]", "PHP file upload", "PHP absolute [your OS] paths"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM