problem with download

Started on the old forum in December 2012 · view the original in the archive · old links redirect here

7 replies · 509 views · started 13 years ago · 1 min read

4 participants
hon3y Junior · 42 posts #1

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

kevk3v Senior · 332 posts #2

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

Mobile chat, iphone chat, android chat, chat, rooms http://www.aiochat.com

hon3y Junior · 42 posts #3

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

<?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="','» <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

something else Fellow · 2,296 posts #4

Can you tell me what this line does?

$file = str_replace('<br />','<hr>',$file);
hon3y Junior · 42 posts #5

something else wrote: Can you tell me what this line does?

$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

spiderwebs Developer · 193 posts #6

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

E107 Security Team Leader Proudly Support AccountLab Plus Billing Software

Want your Apps to be Developed ??? mail us your requirement at info@csarlab.com

hon3y Junior · 42 posts #7

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

hon3y Junior · 42 posts #8

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

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close