[ PHP ] Code get link download MediaFire

<?php
if(isset($_GET['url'])){
    $source = file_get_contents($_GET['url']);// Get source html của link mediafire
    $dl  = explode('kNO = "',$source);// Tách chuỗi để lấy link
    $dl  = explode('";',$dl[1]); // Kết thúc của chuỗi
    header('location: '.$dl[0]); // Dùng hàm header để chuyển tới link download trực tiếp của mediafire
}
?>

Nguồn : juno_okyo's blog
[ PHP ] Code get link download MediaFire Reviewed by Nguyen Nam Hong on 8:17 PM Rating: 5
Copyright © Kid1412 Blog's 💖 2016
Development by Hong Nguyen Nam
Powered by Blogger.