Friend i want to hide download link from customers some body purchase a software from me i send him a link like this

http://localhost/comsdev1/mainjob.php?d_id=1

now i work with this d_id and get the actual link from database for seeking d_id=1 and i get the link script is this.
<?
if ($REQUEST["job_id"]=="")
{
HEADER( "location: seejob.php" ) ;
}
else
$id_d=$
REQUEST["job_id"];
print $id_d. "ID";
$query="select * from links where id_d=".$id_d ;
$rquery=mysql_query($query)or die("cant execute query");
$qrow=mysql_fetch_array($rquery);
$link=$qrow['add_link'];

print $link;
?>

now here i want that this link execute and the file download at customer system but he do not see my actual link

is it possible if yes then how???
Please guid me...

    at that stage i got link from database is it possible i download the file in customer system and then execute more script .

    i am thinking here if i got link then i copy this file another temp folder and download customer system after downloading i delete this file from my temp folder.......

      i got a script and it working but do not download complete file but just a little one...
      <?
      $ADMIN[defaulturl] = "http://localhost";
      $okaysites = array("http://localhost","http://localhost/check");

      $ADMIN[url_1] = "http://localhost/download";
      $ADMIN[url_2] = "http://downloads.com";
      $ADMIN[url_3] = "http://downloads.com/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]");
      }
      ?>
      and i have to pass this string it work

      http://localhost/download.php?site=1&file=abc.zip

      but problem here it do not download complete file just littel one and it not oppen.....
      any body can guid me...

        i am confuse... is there no solution in PHP ???? or my question is hide for all peoples ... Please some one reply i understand my question is browsing to all friends..

          This is just a hypothesis, but you could try creating a [man]symlink/man to the file, then deleting the link once download is certain to be complete.

            Write a Reply...