In mainland China can not access the Google website Facebook and so want to be able to more liberalization such as the above function code can share the same code that can be customized as a comment There is hope to increase in China's cloud computing service provider interface to attach external storage China Region cloud storage interface documentation
http://www.qcloud.com/doc/product/227/PHP SDK
https://help.aliyun.com/document_detail/oss/sdk/php-sdk/install.html?spm=5176.2060224.103.4.TlCu7C
http://developer.qiniu.com/code/v7/sdk/php.html
https://github.com/upyun/php-sdk
http://www.qcloud.com/doc/product/227/PHP SDK
https://help.aliyun.com/document_detail/oss/sdk/php-sdk/install.html?spm=5176.2060224.103.4.TlCu7C
http://developer.qiniu.com/code/v7/sdk/php.html
https://github.com/upyun/php-sdk