2 u010805981 u010805981 于 2013.06.30 15:25 提问

付费请高手帮我翻译一下下面这段php代码是什么意思,回复留联系方式

$str =curl_get($url);
$str=str_ireplace($server_url,'',$str);
$str=preg_replace("/]+>/si","",$str);
//$str=preg_replace("/\s+/", " ", $str);
$str=preg_replace("/<!--.*?-->/si","",$str);
$str=preg_replace("/

]+>/si","",$str);
$str=preg_replace("/]+>/si","",$str);
$str=preg_replace("/]+>/si","",$str);
$str=preg_replace("/<\/form>/si","",$str);
$str=preg_replace("/<(select.*?)>(.*?)<\/select>/si","",$str);
$str=preg_replace("/<(applet.*?)>(.*?)<(\/applet.*?)>/si","",$str);
$str=preg_replace("/<(\/?applet.*?)>/si","",$str);
$str=preg_replace("/<(noframes.*?)>(.*?)<(\/noframes.*?)>/si","",$str);
$str=preg_replace("/<(\/?noframes.*?)>/si","",$str);
$str=preg_replace("/<(i?frame.*?)>(.*?)<(\/i?frame.*?)>/si","",$str);
$str=preg_replace("/<(\/?i?frame.*?)>/si","",$str);
$str=preg_replace("/on([a-z]+)\s*=/si","On\1=",$str);
$str=preg_replace('#\s*]+>(.*)\s*#i',"",$str);
$str=preg_replace('#spm=[^&\'"]+&#i','',$str);
$str=preg_replace('#&spm=[^"]+"#i','"',$str);
$str=preg_replace('#/\?spm=([^"\']+)"#i','"',$str);
$str=str_ireplace('

1个回答

u012061450
u012061450   2013.09.09 20:33

strong text

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!