PHP cross-station file upload, how to solve

Source: Internet
Author: User
Tags file upload

PHP cross-station file upload

An existing video site A, users can upload video.

b site to call a website interface upload video, two sites are not the same server.

A Web site with the Uploadify plug-ins. How to achieve Cross station upload?

------Solution--------------------

First of all to determine, A,b station are you can control, or you want to use other sites to upload video, but do not want users to upload to the other site.

If a B is all you can control, a make a call to API B.

If a is someone else's site, such as Youku, you want to upload your site to Youku and get a video address.

This requires you to be able to simulate the login Youku, and then upload via curl to get the return value analysis until or until the address is obtained.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.