if(!$navinfor[urlzz] && $navinfor[urlz]){
    $pagecontent = file_get_contents($navinfor[urlz]);
    $bm=preg_match('/<meta(?='.chr(92).'s).*?charset=['."'".'"]{0,1}(.*?)['."'".'">;'.chr(92).'s]/i',$pagecontent,$bmr);
    if($bmr){$bm=$bmr[1];}else{
    $bm= mb_detect_encoding($pagecontent, 'GBK, gb2312, GB18030, ISO-8859-1, ASCII, UTF-8', true);}
    if(strtolower('utf-8')!=strtolower($bm)){$pagecontent=mb_convert_encoding($pagecontent,'UTF-8',$bm);}
    $navinfor[urlzz]=$pagecontent=preg_replace('/[^'.chr(92).'x{4e00}-'.chr(92).'x{9fa5}]/u','',$pagecontent);
    $empire->query("update {$dbtbpre}ecms_url set urlzz='$pagecontent' where id={$navinfor[id]} ");
    
}
echo $navinfor[urlzz];斜杠,汉字,提取,蜘蛛,饲料,处理 保留备用 2018年11月20日
