PHP Deprecated: mysql_escape_string(): This function is deprecated

检查apache log记录,发现有很多错误信息:

PHP Deprecated:  mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in lists.php on line 171

解决办法:

vi +171 lists.php 查找mysql_escape_string替换为mysql_real_escape_string即可!

上一篇: