<?php
$relative_path = "./";
$small_title = "Download";
$id = $HTTP_GET_VARS["id"];
if (empty($id)){
die("Kein Download angegeben");
}
include("includes/connect.inc.php");
$link = ConnectAndSelect();
$queryString = "SELECT * FROM downloads WHERE intID = '$id'";
$result = mysql_query($queryString, $link);
if (mysql_num_rows($result) != 1) {
die ("
MySQL-Download-Table-Error!");
}
while ($row = mysql_fetch_array($result,[b]MYSQL_ASSOC[/b])) {
?>
<?php include("includes/header.inc.php"); ?>
[b]Download wird gestartet[/b]</p>
Um den von Ihnen gewünschten Download zu starten, klicken Sie bitte
auf den folgenden Link:</p>
[
url="<?php print [b]$row['charFile'][/b]; ?>"]Download File[/
url]</p>
<?php include("includes/footer.inc.php"); }?>