欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

截獲網(wǎng)站title標(biāo)簽之家內(nèi)容的例子

 更新時(shí)間:2006年10月09日 00:00:00   作者:  
截獲網(wǎng)站title標(biāo)簽之家內(nèi)容的例子
參考:http://www.netasp.com.cn/valley/gettitle/index.php

代碼如下:
<pre>
<?
//get_title.php
$file=file("http://www.netasp.com.cn");
$count=count($file);

for($i=0;$i<$count;$i++){
  if(eregi("<title>(.*)</title>",$file[$i],$out)){
  $title=$out[0];
  }
}

$title=substr($title,7,-8);
echo $title;
?>
</pre>  

【本文版權(quán)歸作者與奧索網(wǎng)共同擁有,如需轉(zhuǎn)載,請(qǐng)注明作者及出處】    

相關(guān)文章

最新評(píng)論