Try Again"); } while($row = mysqli_fetch_array( $result )){ $id = $row['id']; $redirect = $row['redirect']; $hits = $row['count']; $newcount = $hits + 1; $enabled = $row['enabled'];} // If found and enabled, forward the user on if($redirect != "" && $enabled == 1){ $result2 = mysqli_query($connection, "UPDATE `redirects2` SET `count` = '$newcount' WHERE `id` = $id"); header( "Location: $redirect" ) ; return; } // If found, but not enabled - Advise that this is disabled elseif($redirect != "" && $enabled == 0){ $errorMessage = "This redirect ($key) has been disabled by an administrator. (See FAQ)"; } // If not found, Advise else{ $base_domain = $_SERVER['HTTP_HOST']; if($key == "admin"){ $redirect = "http://$base_domain/admin/"; header( "Location: $redirect"); return; } elseif( $key == "custom" ){ $redirect = "http://$base_domain/?custom=true"; header( "Location: $redirect"); return; } else{ $errorMessage = "This redirect ($key) could not be found."; } } }?>

Create a new short link:
>/
Url:



Download our new App to create shortlinks directly from your clipboard! (Windows) [More Info]




Alternatively you can visit our other projects:

DigDns - ScreenCap - PuTTYTools - QuickDNS