When using the Baidu editor, you can find that there is an "online Attachment" when adding attachments. you can see all the attachments uploaded previously. However, I only want users to see their uploaded attachments, rather than those uploaded by all users. how can this problem be solved? In addition, it seems like "online management" of "multi-image upload "... when using the Baidu editor, you can find that there is an "online Attachment" when adding attachments. you can see all the attachments uploaded previously.
However, I only want users to see their uploaded attachments, rather than those uploaded by all users. how can this problem be solved?
In addition, it seems that this is also the case of "online management" for "multi-image upload.
Reply content:
When using the Baidu editor, you can find that there is an "online Attachment" when adding attachments. you can see all the attachments uploaded previously.
However, I only want users to see their uploaded attachments, rather than those uploaded by all users. how can this problem be solved?
In addition, it seems that this is also the case of "online management" for "multi-image upload.
Http://fex.baidu.com/ueditor/#server-php
Http://fex.baidu.com/ueditor/#dev-request_specification
Judge session in controller. php
Note that no session exists during flash Upload.
Thank you for your answers.
I found the answer, and there are several lines of code in controller. php:
/* List images */case 'listimag': $ result = include ("action_list.php"); break;/* list files */case 'listfile ': $ result = include ("action_list.php"); break;
Comment them out, or comment out the code of action_list.php.
I chose the method of making as few changes as possible, and added exit () at the beginning of action_list.php ();