HouseWeb房屋網全國房仲業者查詢
//---循序取檔 Start---
$f=fopen("newmem.cnt","r");
$a=fscanf($f,"%d");
$cnt=$a[0];
fclose($f);
$cnt++;
if ($cnt>=6){$cnt=1;}
$f=fopen("newmem.cnt","w");
$s=sprintf("%d",$cnt);
fputs($f,$s);
fclose($f);
//require("http://www.houseweb.com.tw/newmem_$cnt.txt")
require("http://www.houseweb.com.tw/newmem.php")
//---循序取檔 End---
//---亂數取檔 Start---
//srand((double)microtime()*1000000);
//$randval = rand(1,5);
//echo $randval;
//require("http://www.houseweb.com.tw/newmem_$randval.txt")
//---亂數取檔 End---
?>