saddet, download
Your download is not ready.'; echo '

Something went wrong. please try again or contact us.

'; } else { echo '

Your download is ready.

'; // print out links to files, we know it's sigint01 if($albumid == 'sigint01'){ switch($format){ case 'mp3': echo ''; echo '

If your download does not begin immediately click this sentence.

'; break; case 'flac': echo ''; echo '

If your download does not begin immediately click this sentence.

'; break; case 'wav': echo ''; echo '

If your download does not begin immediately click this sentence.

'; break; } } elseif ($albumid == 'sigint02'){ switch($format){ case 'mp3': echo ''; echo '

If your download does not begin immediately click this sentence.

'; break; case 'wav': echo ''; echo '

If your download does not begin immediately click this sentence.

'; break; } } // // // to keep a record of downloads we store the ip address // // but to preserve privacy we hash the ip along with a salt, 'saddet' // $iphashed = sha1($ip.'saddet'); // // // save to database // $db = mysql_connect("internal-db.s93869.gridserver.com","db93869","3edc4rfvMTHOST-DB!~!..%*"); // // if (!$db){ // die('Could not connect: ' . mysql_error()); // } // // mysql_select_db("db93869_downloads", $db); // // mysql_query(" // INSERT INTO downloads ( // albumid, // format, // iphashed) // VALUES ( // '".mysql_real_escape_string($albumid)."', // '".mysql_real_escape_string($format)."', // '".mysql_real_escape_string($iphashed)."' // )"); // // mysql_close($db); } ?>

 

 

Close this window.