if (!isset($_GET['fileId'])) {
die ('ERROR: no file specified
If you followed a link inside this site and received this error, please notify the webmaster');
}
$connected = @mysql_connect("localhost", "u182830040_jock2", "SdYE9N08C3l4") or problemi(mysql_error());
mysql_select_db("u182830040_jock2") or die("MySql Error: " . mysql_error());
$fileId = mysql_real_escape_string($_GET['fileId']);
if (!is_numeric($fileId))
die ('ERROR: invalid fileId
If you followed a link inside this site and received this error, please notify the webmaster');
$sqlgetpath = "SELECT `file`, `statId`, `mirrored` FROM `down_files` WHERE `id` = $fileId LIMIT 1 ;";
$res = mysql_query($sqlgetpath) or die("MySql Error: " . mysql_error());
if (mysql_num_rows($res) == 0) {
die ('ERROR: invalid fileId
If you followed a link inside this site and received this error, please notify the webmaster');
}
$row = mysql_fetch_array($res);
$filePath = $row[0];
$fileId = $row[1];
$mirrored = $row[2];
$time = mktime();
$sqlinsertlog = "INSERT INTO `down_log` ( `file` , `time` ) VALUES ( $fileId , $time );";
mysql_query($sqlinsertlog);
if ($mirrored == 1) {
switch(rand(0, 4)) {
case 0:
case 1:
$server = 'http://web.tiscali.it/jockersoft/files/';
break;
case 2:
case 3:
$server = 'http://xoomer.alice.it/yuppygames/jockersoft/';
break;
// $server = 'http://www.jockersoft.altervista.org/_altervista_ht/';
case 4:
$server = 'http://www.jockersoft.com/downloads_real2/latest/';
break;
}
header('Location: ' . $server . basename($filePath));
}
else {
header('Location: http://www.jockersoft.com' . $filePath);
}
function problemi($msg) {
?>
There are some problems with the mysql database,
and I cannot redirect you to the requested download.
Here are common files that can be downloaded from this site:
JeniuS: JeniuS_setup.exe
CodecInstaller: setup_CodecInstaller.exe
EyeRoller: EyeRoller_setup.exe
SplitFile: SplitFile_setup.exe
Application Monitor: appmonitor.zip
Startup Delayer: setup_StartupDelayer.exe
If your file is not listed here, you will find it in the downloads directory
Sorry for this inconvenience
die ("Error descrpition
$msg"); } ?>