PHP Cross-site file upload
Existing a video site A, users can upload video.
b website want to call a site interface upload video, two sites are not the same server.
A uploadify plugin for a website. How to achieve cross-site 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 the other site upload.
If a B is all you can control, a makes a call to API B.
If a is someone else's website, such as Youku, you want to upload to Youku on your website, and then get the video address.
This requires you to be able to simulate login Youku and then upload through curl to get the value of the return value analysis until the address.
http://www.bkjia.com/PHPjc/820423.html www.bkjia.com true http://www.bkjia.com/PHPjc/820423.html techarticle PHP Cross-site file upload an existing video site A, users can upload video. b website want to call a site interface upload video, two sites are not the same server. A website used by Uploa ...