URL shortened successfully\n

View the details of your short URL below.

"; } elseif ( $message = $url. "already exists in database") { $error = "

An error has occured :(

\n

This URL already exists in this database. This website does not allow a single URL to have multiple short links.

"; } elseif ( $message = "Short URL" .$url. "already exists in database or is reserved") { $error = "

An error has occured :(

\n

This short URL already exists in this database or is reserved. This website does not allow a single URL to have multiple short links. It could've also been reserved by the admin.

"; } elseif ( $message = "Missing URL input") { $error = "

An error has occured :(

\n

You did not enter the URL you want to shorten or the server lost it. Please try again.

"; } elseif ( $message = "URL is a short URL") { $error = "

An error has occured :(

\n

You cannot shorten a short URL!

"; } ?> <?php echo $ISQtitle; ?>

Share on Facebook"; } if (!empty(ISQ::$social['twitter'])) { $ISQtwitter = "Tweet"; } if (!empty(ISQ::$social['plus'])) { $ISQplus = "
"; } if (!empty(ISQ::$social['linkedin'])) { $ISQlinkedin = ""; } if (!empty(ISQ::$general['qr'])) { $ISQqr = "

QR code

\n

Share your code with external devices

\nQR code"; } echo <<

Original URL: $url

Short URL: $shorturl

Stats: $shorturl+

Share

Share your short URL

$ISQfacebook $ISQtwitter $ISQplus $ISQlinkedin RESULT; // Part to be executed when no form has been submitted } else { $site = YOURLS_SITE; echo <<Enter a new URL to shorten

HTML; } ?>