Home  >  Article  >  Database  >  十一、mysql输入安全_MySQL

十一、mysql输入安全_MySQL

WBOY
WBOYOriginal
2016-05-31 08:46:54967browse
1.尽量使用“绑定参数”功能,php中可用pdo进行一系列操作2.php可使用mysql_real_escape_string()函数进行输入过滤;

 

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