Advertisement
Th3-822

[rapidleech][d] multiupload_nl.php

Sep 9th, 2013
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.58 KB | None | 0 0
  1. <?php
  2.  
  3. if (!defined('RAPIDLEECH')) {
  4.     require_once('index.html');
  5.     exit();
  6. }
  7.  
  8. class multiupload_nl extends DownloadClass {
  9.     public function Download($link) {
  10.         $page = $this->GetPage($link);
  11.         is_present($page, 'the link you have clicked is not available.', 'File Not Found');
  12.         if (!preg_match('@https?://[^/\r\n]+/files/[^\'\"\t<>\r\n]+@i', $page, $dlink)) html_error('Error: Direct-Download link not found or is not available.');
  13.         $this->RedirectDownload($dlink[0], urldecode(basename(parse_url($dlink[0], PHP_URL_PATH))));
  14.     }
  15. }
  16.  
  17. // [09-9-2013]  Written by Th3-822.
  18.  
  19. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement