problem with download

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • hon3y
    replied
    original link is
    mr-jatt.org/music/LP28/index.php?dir=Dec-2012%2FPunjabi+Rockstar+-+Juggy+D


    they r not using any this type
    $dir = "musicdata";
    if(!is_dir($dir)){
    mkdir($dir,0777);}
    $save = $dir.'/'.$destt;
    $file='http://mr-jatt.org/music/LP28/'.$abc;
    if(copy($file,$save))


    the link come this when
    mr-jatt.org/music/LP28/Dec-2012/Punjabi%20Rockstar%20-%20Juggy%20D/Yadaan%20(feat.%20Mentor%20Beats)-(Mr-Jatt.Com).mp3

    djsongz.com/music/LP28/Dec-2012/Punjabi%20Rockstar%20-%20Juggy%20D/Yadaan%20(feat.%20Mentor%20Beats)-(Djsongz.CoM).mp3


    but my download not work please tell me

    Leave a comment:


  • hon3y
    replied
    the grabber is ok but
    when i try to download the songs it give me 404 not found error

    how to copy that songs in load folder .. but it remote sire provide direct download that main problem

    original link is
    Magic - Garry Sandhu
    any code
    Last edited by hon3y; 20.12.12, 13:18.

    Leave a comment:


  • spiderwebs
    replied
    its useless remove it also your access is to other site and if that page is not in server it wont workfor you aswell

    Leave a comment:


  • hon3y
    replied
    Originally posted by something else View Post
    Can you tell me what this line does?
    PHP Code:
    $file = str_replace('<br />','<hr>',$file); 
    don't knw abt that i took file from here ..

    i really need help with direct downloads please tell me the code
    Last edited by hon3y; 15.12.12, 12:51.

    Leave a comment:


  • something else
    replied
    Can you tell me what this line does?
    PHP Code:
    $file = str_replace('<br />','<hr>',$file); 

    Leave a comment:


  • hon3y
    replied
    here is the script
    here is my site site
    Punjabi Music | Download Punjabi Music || Hindi music | Free Hindi Music |

    Code:
    <?php
    
    $site = "(www.Djsongz.Com)";
    // Put Your (SiteName)
    
    $file = file_get_contents('http://kidda22.pro/Latest-Stuff/index.php?dir='.$_GET['dir'].'&p='.$_GET['p'].'&page='.$_GET['page'].'&sort=1');
    
    $file = preg_replace('|<div style="position:relative; visibility:hidden;display : none;">(.*?)</div>|is','',$file);
    $file = preg_replace('|<script>(.*?)</script>|is','',$file);
    $file = preg_replace('|<title>(.*?)</title>|is','',$file);
    $file = preg_replace('|<style type="text/css">(.*?)<\/style>|is','',$file);
    $file = preg_replace('|<script id="smaatoAdDisplay"(.*?)</script>|is','',$file);
    $file = preg_replace('|<p class="siteTitle">(.*?)</p>|is','',$file);
    $file = str_replace('<br>------<br/>','',$file);
    $file = preg_replace("|<div class='contur'>(.*?)</div>|is","",$file);
    $file = preg_replace("|<div class='contur_t'>(.*?)</div>|is","",$file);
    $file = preg_replace("|<div class='contur_rek'>(.*?)</div>|is","",$file);
    $file = preg_replace('/<a href="http:\/\/(.*?)ads.adiquity.com(.*?)<\/a><br\/>/','',$file);
    $file = preg_replace('/<a href="http:\/\/(.*?)ads.adiquity.com(.*?)<\/a>/','',$file);
    $file = str_replace('(WapDhamaka.Com)',$site,$file);
    $file = str_replace('<br />------<br/>','',$file);
    $file = str_replace('Download Page','Download',$file);
    $file = str_replace('<a href="','&raquo; <a href="',$file);
    $file = str_replace('<div>------<br/>','',$file);
    $file = str_replace('<br />','<hr>',$file);
    ?>
    <?php
    include 'header.php';
    echo $file;
    include 'footer.php';
    ?>

    just tell me how to copy the direct download .. so that it can give download
    Last edited by hon3y; 14.12.12, 12:53.

    Leave a comment:


  • kevk3v
    replied
    probably means wrong link, file doesn't exist
    better to post the script so we can check

    Leave a comment:


  • hon3y
    started a topic problem with download

    problem with download

    i have made a problem but remote site has direct download when i click on song download it give me 404 error

    please help me

    i tried file.php also but didn't get sucess

    djsongz.com/Latest-Stuff/index.php?dir=Punjabi_Muzic%2F2012_Albums%2FLatest +Punjabi+128+Kbps%2FDecember+-+%282012%29%2FFlavours+-+Kabir+-+%28Dec-12%29
Working...
X