$upyun = new UpYun('xxx', 'xxx', 'xxx');
$upyun->readFile('/uploads/11/file_1365168728_szd.rar');
这个函数怎么用
$upyun = new UpYun('xxx', 'xxx', 'xxx');
$upyun->readFile('/uploads/11/file_1365168728_szd.rar');
这个函数怎么用
两个用法 ...
// $data 即为文件内容 $data = $upyun->readFile('/temp/upload_demo.png'); // 读取文件并写入本地的 /tmp/demo.png $fh = fopen('/tmp/demo.png', 'w'); $upyun->readFile('/temp/upload_demo.png', $fh); fclose($fh);
已抢141189个
抢已抢4765个
抢已抢7571个
抢已抢21942个
抢