相关疑难解决方法(0)

替代mysql_real_escape_string而不连接到DB

我希望有一个函数表现为mysql_real_escape_string而不连接数据库,因为有时我需要在没有数据库连接的情况下进行干测试.不推荐使用mysql_escape_string,因此不合需要.我的一些发现:

http://www.gamedev.net/community/forums/topic.asp?topic_id=448909

http://w3schools.invisionzone.com/index.php?showtopic=20064

php mysql mysql-real-escape-string

86
推荐指数
4
解决办法
11万
查看次数

标签 统计

mysql ×1

mysql-real-escape-string ×1

php ×1