ueditor v1.3.6 怎么修改图片上传路径
ueditor v1.3.6 如何修改图片上传路径
ueditor v1.3.6 如何修改图片上传路径 php文件的 (我想要把图片存储在根目录下的upfile里)谢谢
------解决方案--------------------
ueditor.config.js
window.UEDITOR_HOME_URL = "/Editor/"; (因为做了好几天了,<br /> 这一句设置是否有用,我已经忘了,,没办法,年纪大了,做过就忘,)<br /> //图片上传配置区<br /> ,imageUrl:URL+"php/imageUp.php" //图片上传提交地址<br /> ,imagePath: "" //图片修正地址,引用了fixedImagePath,如有特殊需求,可自行配置<br /> ,savePath: [ 'images' ] //图片保存在服务器端的目录, 默认为空, 此时在上传图片时会向服务器请求保存图片的目录列表, <br /> ////////////////////////<br /> //图片在线管理配置区<br /> ,imageManagerUrl:URL + "php/imageManager.php" //图片在线管理的处理地址<br /> ,imageManagerPath: "" //图片修正地址,同imagePath<br /> ////////////////////<br /> //附件上传配置区<br /> ,fileUrl:URL+"php/fileUp.php" //附件上传提交地址<br /> ,filePath: "" //附件修正地址,同imagePath<br /> //,fileFieldName:"upfile" //附件提交的表单名,若此处修改,需要在后台对应文件修改对应参数<br />

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

In this chapter, we will understand the Environment Variables, General Configuration, Database Configuration and Email Configuration in CakePHP.

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

To work on file upload we are going to use the form helper. Here, is an example for file upload.

In this chapter, we are going to learn the following topics related to routing ?

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

Visual Studio Code, also known as VS Code, is a free source code editor — or integrated development environment (IDE) — available for all major operating systems. With a large collection of extensions for many programming languages, VS Code can be c

Validator can be created by adding the following two lines in the controller.
