Quick short URL PHP function

function shortURL($long)
 return $short;


$short = shortURL("http://veryveryveryverylongurl.tld/something/verylong.php");
echo $short;

One response to “Quick short URL PHP function”

  1. Bogo says:

    I have to fix that :)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.