Home  >  Article  >  Backend Development  >  In the LANP environment, if you use a rich text editor to upload pictures to a certain directory, will the pictures be deleted inexplicably?

In the LANP environment, if you use a rich text editor to upload pictures to a certain directory, will the pictures be deleted inexplicably?

WBOY
WBOYOriginal
2016-08-04 09:20:471383browse

In the LANP environment, if you use a rich text editor to upload pictures to a certain directory, will the pictures be deleted inexplicably?
It’s not a code problem or an editor problem. I changed 2 editors and the same thing happened. Baidu Editor and
kindeditor will be deleted in about 20 minutes. Make sure there is no file deletion operation in the PHP code.
Directory The permission is 775. As for the logs, I haven’t read the PHP error log or nginx access log

Reply content:

In the LANP environment, if you use a rich text editor to upload pictures to a certain directory, will the pictures be deleted inexplicably?
It’s not a code problem or an editor problem. I changed 2 editors and the same thing happened. Baidu Editor and
kindeditor will be deleted in about 20 minutes. Make sure there is no file deletion operation in the PHP code.
Directory The permission is 775. As for the logs, I haven’t read the PHP error log or nginx access log

What editor? What are the permissions of the directory? Is it shown in the relevant logs? How long does it take for it to be deleted?
The question is not detailed enough. . .

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn