title: Short URL to Long URL Function in PHP?
body: <p>I'm trying to find the proper way in PHP of creating a short URL to long URL convertor function. </p>
  
  <p>I think @yes123 is onto something in his function on <a href="https://stackoverflow.com/questions/9557116/regex-php-code-to-check-if-a-url-is-a-short-url">Regex / php code to check if a URL is a short URL</a> but not too sure.</p>