PHP code example of wslibs / cunchuio

1. Go to this page and download the library: Download wslibs/cunchuio library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

wslibs / cunchuio example snippets


CunChuIO::getConfig(array(
    "storage_list" => '',
    "accountname" => '',
    "accountkey" => '',
    "storename" => '',
    "rongqi" => '',
));

/*
* 云端存储地址
* 要上传至云端的文件二进制内容
*/

CunChuIO::uploadContent("/test/test.jpg","content");