文件名称:Hi_BaiduPCS_v1.0.140416
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
本代码基于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-Based on this code Baidu PCS PHP SDK, only for small file sharing. Need mod_rewrite, no mod_rewrite modify the links themselves
Installation
Authorized HiBCS, obtain Authorization Code, in order to obtain a 10-year validity Refresh Token Authorization Code by
`Config.php` corresponding configuration parameters
Refresh Token acquired filled `config.php` of` $ access_token = `in
Edit thumbnails Height Width `thumbnail.php`
$ width = 200 // width
$ height = 200 // height
Large files, modify the `php.ini` configuration example:
post_max_size = 128M
upload_max_filesize = 100M
max_execution_time = 600
memory_limit = 256M
安装
授权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-Based on this code Baidu PCS PHP SDK, only for small file sharing. Need mod_rewrite, no mod_rewrite modify the links themselves
Installation
Authorized HiBCS, obtain Authorization Code, in order to obtain a 10-year validity Refresh Token Authorization Code by
`Config.php` corresponding configuration parameters
Refresh Token acquired filled `config.php` of` $ access_token = `in
Edit thumbnails Height Width `thumbnail.php`
$ width = 200 // width
$ height = 200 // height
Large files, modify the `php.ini` configuration example:
post_max_size = 128M
upload_max_filesize = 100M
max_execution_time = 600
memory_limit = 256M
(系统自动生成,下载前可以参看下载内容)
下载文件列表
.htaccess
config.php
.ss\img\8sbYJuCK.png
...\...\qiniu.jpg
...\style.css
...\style.full.css
download.php
index.php
libs\BaiduPCS.class.php
....\RequestCore.class.php
listaudio.php
listimg.php
qiniu-share.php
README.md
share.php
thumbnail.php
说明.htm