Thnx 4 the reply --> but not sure how to solve it yet....
The next is my code,
<?php
if(!$download_id)
{
echo "error";
} else {
include("connect_db_inc.php");
$query = "SELECT * FROM downloads where download_id = '$download_id'";
$result = mysql_query($query) or die ("query failed");
$obj = mysql_fetch_object($result);
$downloads = $obj->downloads;
$downloads ++;
$update = "UPDATE downloads SET downloads='$downloads' WHERE download_id='$download_id'";
mysql_query($update);
$yourfile = "$obj->filepath"; //filepath looks like [url]http://www.download.com/game.exe[/url]
header("Content-type: application/yourfiletype");
header("Content-Disposition: attachment; filename=$yourfile ");
readfile("$yourfile ");
}?>
The files are at other servers, different extensions (zip, exe, jpg, etc, etc,) and this dasn't seem to work...
I searched trough the internet for days now and I am getting pretty insane of all this....
please, what should I use as download launcher??