Ueditor upload images on Sina cloud file Save error
There was an error saving the file when using Ueditor, in the Uploader.class.php file
if ($this->stateinfo = = $this->statemap[0]) {
if (!move_uploaded_file ($file ["Tmp_name"], $this->fullname)) {
$this->stateinfo = $this->getstateinfo ("MOVE");
}
}
has been prompted to save error, when I directly change $this->fillname to their own Sina cloud
When the absolute path on/public/uploads/images/123.jpg is on, the file name is saved incorrectly.
I really don't know how to solve this problem.
------Solution--------------------
He has his own upload component.
Move_uploaded_file is not available.
------Solution--------------------
Specific can be set under the breakpoint debugging, if it is the upload of file errors,
Try to change to a http://avatar.csdn.net/E/2/9/1_zy205817.jpg path,
By the way print $file["Tmp_name"] look.
------Solution--------------------
Sina Cloud has developed the document, lover this reading. The connection is not posted, there is no need to advertise for others
Sina Cloud File Upload
where Http://www.oschina.net/question/932809_91373?sort=time reply three of the code is