real_escape_string(strtolower(stripslashes(strip_tags($_GET['l'])))); $sql = "SELECT * FROM `links` WHERE `shortlink` = '$link' LIMIT 1;"; if($result = $shortdb->query($sql)){ if($row = $result->fetch_assoc()){ $link = $row['link']; header("location:$link"); } } } */ if(!empty($_GET)){ $key = key($_GET); include('api/dbsettings.php'); $link = $shortdb->real_escape_string(strtolower(stripslashes(strip_tags($key)))); $sql = "SELECT * FROM `links` WHERE `shortlink` = '$link' LIMIT 1;"; if($result = $shortdb->query($sql)){ if($row = $result->fetch_assoc()){ $link = $row['link']; header("location:$link"); } } } if(isset($_GET['newbg'])){ echo ""; } function userpic($email){ $default = "http://fox.gy/fCDIjceUvkk.png"; $size = 20; $grav_url = "http://www.gravatar.com/avatar/".md5(strtolower(trim($email)))."?d=".urlencode($default)."&s=".$size; return $grav_url; } ?> UnPS Link Shortener

Please give me a link to shorten...