Home  >  Article  >  Backend Development  >  php操作mysql存代码

php操作mysql存代码

WBOY
WBOYOriginal
2016-06-06 20:16:561382browse

通过php操作mysql存储html代码和markdown格式的代码,需要怎么对代码做处理再保存到mysql,谢谢

回复内容:

通过php操作mysql存储html代码和markdown格式的代码,需要怎么对代码做处理再保存到mysql,谢谢

需要对恶意的代码进行过滤在存储

需要注意图片 大小这一块 ,特别是用在手机端显示

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