同样的代码,在本地都正常 在服务器上就返回false,远程服务器换过apache IIS 都不行,是要PHP里设置呢,还是什么地方要设置过呢,请高手指教。
thinkphp 3.2public function test(){
$aa="hello abc\defg";
echo $aa."<br>";
$bb= mysql_real_escape_string($aa);
echo $bb ;
}本地返回:远程服务器返回:
thinkphp 3.2public function test(){
$aa="hello abc\defg";
echo $aa."<br>";
$bb= mysql_real_escape_string($aa);
echo $bb ;
}本地返回:远程服务器返回:
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货