$db_host = 'localhost'; $db_username='www'; $db_password='L0g1ndb'; $db='www'; $mysqlh = @mysql_connect($db_host, $db_username, $db_password); if ($mysqlh) { mysql_select_db($db, $mysqlh); mysql_query("SET NAMES tis620"); } else { exit; } if (!$id) { header('Location: /'); } $id = intval($_GET['id']); $result = mysql_query("SELECT * FROM download WHERE id='$id'"); if ($result && mysql_num_rows($result)) { $object = mysql_fetch_object($result); #header("Location: $object->url"); echo "