摘要:
//获取上传token Vendor('sdk.autoload'); $accessKey='********'; $secretKey='*******'; $auth=new \Qiniu\Auth($accessKey,$secretKey); $token=$auth->uploadTok 阅读全文
摘要:
//返回服务器真实路径 $Absolute_Path=$_SERVER['SCRIPT_FILENAME']; //截取index.php $Absolute_Path=substr($Absolute_Path,0,-9).'/Public'; 阅读全文