Open FCKeditor upload image function
In view of the directory security issues, The default Fckeditor2.6.6 upload function is not turned on, so the first step we must open the FCKeditor upload function, here need to pay attention, because the PHP
ueditor1.4.3---PHP version upload image path changes
Locate the Php/config.json file in the Ueditor file directory to modify it
My goal is to change the upload directory to the site root directory under the UploadFile directory, I modified this,
Https://github.com/chaping/plupload_docs this downloadLupload has the following features and features:1, has a variety of upload methods: HTML5, Flash, Silverlight and the traditional . Plupload will automatically detect the current environment,
Plupload is an interface-friendly file upload module on a Web browser that shows upload progress, automatic image thumbnails, and upload chunking. Can upload multiple files at the same time, for your content management system or similar upload
Picture upload configuration succeeded, the picture also uploaded, but there is a problem is the picture in the save time, using the relative address.
The red part is now the problem, I would like to change to the green section below with my site'
One, about the picture upload what or whatIn the era of XHTML, we upload pictures using HTML file controls and upload one at a time. To upload multiple graphs at one time, the practice is to use flash. such as Swfupload.js. Unfortunately, the use of
PHP image upload Class code, function is also more complete, we need to choose according to needs. Let's start with a simple:
?Http://www.jzxue.comClass upload{Public $length; Qualify File Sizepublic $file; Determine if this class is for picture
If the form cannot be submitted properly, modify the temporary file permissions ~ ~ ~ If you can submit the form normally, modify the upload file Small!!!Server on the use of apache2+php normal operation, replaced by Iis+php, has appeared php.ini
Let's start with a simple:
Copy Code code as follows:
?
Http://www.jb51.net
Class upload{
Public $length; Qualify File Size
public $file; Determine if this class is for picture uploads or file uploads
Public $fileName; Filename
PHP discuz chhome picture upload swfupload functionThis upload and discuz to compare, still far from the difference. function is also deficient.In addition to some of the built-in URL leads, we can not change, the other data are
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.