php操作mysql存代码

WBOY
Release: 2016-06-06 20:16:56
Original
1397 people have browsed it

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

回复内容:

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!