Admin

AdminAdmin is verified member.

Well-Known Member
Staff member
Administrator
PHP:
<?php
/**
 * Code get link download http://mp3.zing.vn/tv
 * Author: Killer
**/
$link   = $_GET['url'];
if($link){
    $source = @file_get_contents($link);
// Lấy source html của link
    /**
     * BEGIN: Tách chuỗi lấy link download
    **/
    $xml = explode('<input type="hidden" id="_strAuto" value="',$source);
    $xml = explode('" />',$xml[1]);
    $sourcexml = @file_get_contents($xml[0]);
    $dl = explode('<source><![CDATA[',$sourcexml);
    $dl = explode(']]></source>',$dl[1]);
    /**
     * END: Tách chuỗi lấy link download
    **/
    if($dl[0]){
        header('location: '.$dl[0]);
    }else{
        echo "Error: ".$link;
    }
}else{
    echo "empty";
}
?>
Lưu thành file.php
Cách sử dụng chạy đường dẫn: http://domain.com/file.php?url=http...a/Flower-Boy-Ramyun-Shop-Tap-10/IWZ96ZB9.html
Thanks lấy tinh thần nào
 

Facebook Comments

Similar threads

cuongpro9x
Replies
1
Views
17K
K
Admin
Replies
0
Views
3K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
2K
AdminAdmin is verified member.
Admin
Admin
Replies
8
Views
2K
AdminAdmin is verified member.
Admin
Admin
Replies
0
Views
3K
AdminAdmin is verified member.
Admin
Admin
Replies
11
Views
3K
Z
Admin
Replies
5
Views
2K
CanhChimViet
CanhChimViet
Admin
Replies
0
Views
1K
AdminAdmin is verified member.
Admin
Back
Top