Home > 源码列表 > PHP源码 >> 上传下载

Hi_BaiduPCS v1.0 build20140416

上传下载 2014-07-25 12:59:50 Source: 网络整理/侵权必删
  • 授权方式:开源软件
  • 界面语言:简体中文
  • 文件大小: MB
  • 更新时间:2014-07-25
  • 资源类型:国产软件
  • 平台环境:PHP
  • 推荐等级: ★★★★☆
  • 作者主页: 点击查看

详细介绍 - [ Hi_BaiduPCS v1.0 build20140416 ]

如果根据教程部署还有错误提示,我只能抱歉的说RP问题
只要有百度网盘+自己的PHP空间即可使用本代码,上传请直接使用百度网盘客户端
百度开发者请用自己的 API Key Secret Key 通过Authorization Code获取10年的有效期Refresh Token
百度PCS简易外链列表,请注意这不是直连百度网盘,这会等同消耗你空间从百度网盘下载相应文件的流量!额,建议使用七牛镜像……
本代码基于Baidu PCS PHP SDK,仅适用于小文件分享。需mod_rewrite,没有mod_rewrite请自行修改相关链接

 

安装
授权HiBCS,获取Authorization Code,以便通过Authorization Code获取10年的有效期Refresh Token
配置 `config.php` 相应参数
将获取的Refresh Token填入 `config.php` 的 `$access_token = '';`中
修改缩略图高度宽度 `thumbnail.php`
$width = 200; //宽度
$height = 200; //高度
较大文件,修改`php.ini`配置例如:
post_max_size = 128M
upload_max_filesize = 100M
max_execution_time = 600
memory_limit = 256M

 

Hi_BaiduPCS

 

下载地址 - [ Hi_BaiduPCS v1.0 build20140416 ]

Tag: 百度 网盘 自己的 Key Hi BaiduPCS v1.0 build20140416 下载


Disclaimer: The content of this article is sourced from the internet. The copyright of the text, images, and other materials belongs to the original author. The platform reprints the materials for the purpose of conveying more information. The content of the article is for reference and learning only, and should not be used for commercial purposes. If it infringes on your legitimate rights and interests, please contact us promptly and we will handle it as soon as possible! We respect copyright and are committed to protecting it. Thank you for sharing.

站长搜索

http://www.adminso.com

Copyright @ 2007~2024 All Rights Reserved.

Powered By 站长搜索

Open your phone and scan the QR code on it to open the mobile version


Scan WeChat QR code

Follow us for more hot news

AdminSo Technical Support