摘要: //获取上传token Vendor('sdk.autoload'); $accessKey='********'; $secretKey='*******'; $auth=new \Qiniu\Auth($accessKey,$secretKey); $token=$auth->uploadTok 阅读全文
posted @ 2018-04-10 17:41 phpwyl 阅读(847) 评论(1) 推荐(0) 编辑
摘要: //返回服务器真实路径 $Absolute_Path=$_SERVER['SCRIPT_FILENAME']; //截取index.php $Absolute_Path=substr($Absolute_Path,0,-9).'/Public'; 阅读全文
posted @ 2018-04-10 16:42 phpwyl 阅读(2963) 评论(0) 推荐(0) 编辑