how to generate shortest possible string in php?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/742013/how-to-code-a-url-shortener">How to code a URL shortener?</a>  </p>
</blockquote>



<p>How to generate shortest possible string (the way e.g. bit.ly is doing this)?</p>
