Home >Backend Development >PHP Tutorial >Regarding the problem of php processing data passed by ckeditor

Regarding the problem of php processing data passed by ckeditor

WBOY
WBOYOriginal
2016-12-01 01:27:20974browse

I recently used ckeditor to build a website, but how should I deal with its data? Its own filtering is based on js and is controllable. If you use php to filter, if you use addslashes and htmlspecialchars, its style tags will also be filtered. How do you deal with it?

Reply content:

I recently used ckeditor to build a website, but how should I deal with its data? Its own filtering is based on js and is controllable. If you use php to filter, if you use addslashes and htmlspecialchars, its style tags will also be filtered. How do you deal with it?

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