Home > Backend Development > PHP Tutorial > php把上传的图片转发到另一台服务器,求高效解法?

php把上传的图片转发到另一台服务器,求高效解法?

WBOY
Release: 2016-06-06 20:19:20
Original
1590 people have browsed it

php把上传的图片转发到另一台服务器,怎么拿上传过来的图片二进制流再去请求另一台服务器?

回复内容:

php把上传的图片转发到另一台服务器,怎么拿上传过来的图片二进制流再去请求另一台服务器?

在另外一台服务器上做接口,或者直接用ftp_connect函数进行上传

rsync

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template