Giter VIP home page Giter VIP logo

ueditor's Introduction

UEditor 集成又拍云标准 API

基于 UEditor 1.4.3.3 PHP 版又拍云 PHP 标准 SDK 开发。

功能

  1. 单图和多图同时上传到又拍云
  2. 附件同时上传到又拍云
  3. 支持 log 记录

使用

下载后解压为 ueditor(不支持其它的项目名称)

修改文件 php/upyun.config.sample.phpphp/upyun.config.php,并配置:

<?php
$servename = '';   // 服务名称
$username = '';     // 操作员账号
$password = '';     // 操作员密码

修改文件 php/config.sample.jsonphp/config.json,并配置:

/* 上传图片配置项 */
……
"imageUrlPrefix": "", /* 图片访问路径前缀,又拍云域名配置,默认域名,如:http://服务名称.b0.upaiyun.com 或绑定域名,如:http://xxxx.xxxx.xxxx */
……
/* 上传文件配置 */
……
"fileUrlPrefix": "", /* 文件访问路径前缀,又拍云域名配置,默认域名,如:http://服务名称.b0.upaiyun.com 或绑定域名,如:http://xxxx.xxxx.xxxx */

说明:上传到又拍云失败,可以查看 php/log.txt 文件里的详细错误信息。

注意

  1. 保证 php 目录有写的权限;
  2. php 安装有 curl 扩展。

ueditor's People

Stargazers

FunnyBiu avatar vincent avatar  avatar  avatar railgun avatar Everan avatar Canbin Lin avatar hyy avatar Xavier Wang avatar Solo avatar Sendtion avatar smartming avatar Ruibin avatar Young avatar Tony Lu avatar Leptune~ avatar  avatar  avatar

Watchers

James Cloos avatar  avatar Gaara avatar  avatar

ueditor's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.