处理 SSI 文件时出错
蹇箰蹇冨績鍏ㄩ泦,蹇箰蹇冨績鍔ㄧ敾鐗囧湪绾胯鐪 {dede:include filename='dlgg.htm' /}
处理 SSI 文件时出错
>>鏇村鍔ㄧ敾鐗囩畝浠
銆銆銆婂揩涔愬績蹇冦嬫槸涓閮ㄩ拡瀵3-6宀佸榫勫墠鍎跨鎴愰暱闇瑕佹墍璁捐鐨勫瘬鏁欎簬涔愮殑鍔ㄧ敾绯诲垪鐗囥傛瘡闆11鍒嗛挓鍗娿傞氳繃蹇冨績鍙婂叾鏈嬪弸浠殑瑙嗚锛屾寲鎺樺瀛愪滑绀句細鎯呯华鐗瑰緛,渚嬪鑷,鍒嗕韩,鍥㈢粨,鍙嬬埍绛夌瓑銆傚苟浠ヨ繖浜涙儏缁壒寰佷负绾跨储,閫氳繃蹇冨績鍙婃湅鍙嬩滑鈥︹
>>鏇村銆愬揩涔愬績蹇冦戠浉鍏冲皬娓告垙
    {dede:php} $url = 'https://www.5068.com/api/flashhandler.ashx?type=3&classid=201&order=1&topcount=21'; $content = file_get_contents($url); $a = ';'; $tf = split($a,$content); $ta = count($tf); for($i=0;$i<$ta;$i++) { $s = $tf[$i]; $b = '|'; $zl = explode($b,$s); $tb = count($zl); echo '
  • '.$zl[1].'
    '.$zl[1].'
  • '; } {/dede:php}
>>鏇村浼戦棽绫诲皬娓告垙
    {dede:php} $url = 'https://www.5068.com/api/flashhandler.ashx?type=2&classid=34&order=1&topcount=21'; $content = file_get_contents($url); $a = ';'; $tf = split($a,$content); $ta = count($tf); for($i=0;$i<$ta;$i++) { $s = $tf[$i]; $b = '|'; $zl = explode($b,$s); $tb = count($zl); echo '
  • '.$zl[1].'
    '.$zl[1].'
  • ';} {/dede:php}
>>鏇村5068鏈鏂板皬娓告垙
    {dede:php} $url = 'https://www.5068.com/api/flashhandler.ashx?type=1&classid=29&order=1&topcount=21'; $content = file_get_contents($url); $a = ';'; $tf = split($a,$content); $ta = count($tf); for($i=0;$i<$ta;$i++) { $s = $tf[$i]; $b = '|'; $zl = explode($b,$s); $tb = count($zl); echo '
  • '.$zl[1].'
    '.$zl[1].'
  • ';} {/dede:php}