简体   繁体   中英

Upload files from one domain on another domain

I need that when a user uploads a file then the file gets stored on a folder on an another domain. I need to upload files from one domain on another domain. From www.uploadto.com/ to www.uploadedfiles.com/uploadedfiles I have a simple php website . The user uploads files and images using that website . But at the back-end I need to store the images in a folder on some other domain which is on the same server. How do I do it? Please help. I have my website hosted on Linux Apache server . I have given the whole path including the username in the move_uploaded_file parameters. But am getting permissions error?

您可以使用jquery uploadify将文件上传到图像服务器,然后将URL获取到另一台服务器。

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