i want to hide my download link i got a script this script work but download a file with a fixed file size and this is nothing about orignel file.... is thier any other way please please help me scirpt is this
$ADMIN[defaulturl] = "http://localhost";
$okaysites = array("http://localhost/download","http://localhost");
$ADMIN[url_1] = "http://localhost/download";
$ADMIN[url_2] = "http://localhost";
$ADMIN[url_3] = "http://localhost/download/new";
//////////////////////////////////////////////////////
$reffer = $HTTP_REFERER;
if($reffer) {
$yes = 0;
while(list($domain, $subarray) = each($okaysites)) {
if (ereg("$reffer",$subarray)) {
$yes = 1;
}
}
$theu = "url"."_"."$site";
if ($ADMIN[$theu] AND $yes == 1) {
header("Location: $ADMIN[$theu]/$file");
} else {
header("Location: $ADMIN[defaulturl]");
}
} else {
header("Location: $ADMIN[defaulturl]");
}
now i call this page with this link and it run for downloading
http://yoursite.com/download.php?site=1&file=thefile.zip
but the problem here it nothing download origenle file but a dummy file and contain nothing
Any body help i am much thankfull to him
Thier is any other idea to hide download link them also guid me i try for it.