hướng dẫn viết auto leech và tool leech trang khác | Xtgem | WapMasTer - Diễn đàn truyện - Xtseo.Xtgem.Com
* MT-A *
* Cấp bậc: mem
2015-04-10 06:03

ta co doan code

$binhtrongbk = file_get_contents("http://www.news.zing.vn/");
$last = file_get_contents("cache221.txt");
$list = explode('<a href="', $binhtrongbk);
for ($i=1;$i<10;$i++) {
$link = explode('"', $list[$i]);
if (strpos($last, $link[0]) ) {
$i = 14;
$nd = file_get_contents("$link[0]");
preg_match('#<h1 class="article-title">
(.*?)</h1>#is', $nd, $title);
$nd = explode('<div class="article-summary">',$nd);
$nd = explode('</div>',$nd[1]);
$nd = strip_tags($nd[0], '<img><b><br>
<span>');
$nd = html_entity_decode($nd,

ta set từng biến nha
{ $binhtrongbk = file_get_contents("http://www.news.zing.vn/"); }
=> đoạn đó là link cần lấy
1 có thể là ten trang web
2 có thể là http://xtseo.xtgem.com/$file.html

ta set từng biến $list
{ $list = explode('<a href="',
$binhtrongbk);}
=> tự động get 1 list trang mun leech
xem trang leech la dang nao thj cac pan
dien vao nha
1 <a class="" herf="">
2 <a id="" href="">
3 <a herf="">
còn biến $link = explode('#up hoac
#new"', $list[$i]); tam goi la ten link. kem
theo neu co hay them vao ko thj co the
xoa....
den bien $nd

$nd = file_get_contents("$link[0]");
preg_match('#<h1 class="article-title">
(.*?)</h1>#is', $nd, $title);
$nd = explode('<div class="article-summary">',$nd);
$nd = explode('</div>',$nd[1]);
$nd = strip_tags($nd[0], '<img><b><br>
<span>');
$nd = html_entity_decode($nd,

bien tieu de ...thuong thj la <title></title>
<h1><h2><h3>....hoac <div class="">
{ preg_match('#<h1 class="article-title">
(.*?)</h1>#is', $nd, $title);}

biến lay van ban $nd bien do cung gjong
mo the va dong the cho van ban zay
phan nay nhju pan chu hjeu .leech $nd
ve wap .nam o doan ma nay
$nd = explode('<div class="article-summary">',$nd);
$nd = explode('</div>',$nd[1]);
$nd = strip_tags($nd[0],

thuong thj <div class=""> <div id=""> <--/$ten---> tuy vao trang mun leech như
the nao nha
cũng dung tuong dung cho viet toot leech
vt va id
p/s: ai có san pham nao vuj long share
nha . L.I.N.H
Chia sẻ:
BBCode:

Link:
Thành viên: BOT, & 11 Khách ghé thăm!
Từ khóa: hướng, dẫn, viết, auto, leech, , tool, leech, trang, khác,

hướng dẫn viết auto leech và tool leech trang khác