贴吧抢楼程序

[php]
<?php
header("content-type:text/html;charset=gbk");
include "./lib/tieba.class.php";
$tieba=new tieba(‘水之子哈哈’,true,false,"");
$data=$tieba->wap_curl("河海");
foreach($data as $key=>$value){
if($value["replay_count"]==0){
$tieba->replay($value["tid"], get_words("words.txt"));

}
}
function get_words($file){
$data=file("./words/".$file);
$sum=count($data);
return $data[rand(0,$sum-1)];

}
[/php]

Leave a Reply

Time limit is exhausted. Please reload CAPTCHA.

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据