title: Serial generation with PHP
body: <p>Throughout my days as a PHP Programmer and a beginner at C# programming I've always wondered of the best way to generate unique serials such as how Microsoft Office and Microsoft operating systems do.</p>
  <p>Does anyone have a good guide to how to handle this, Like what are the important factors in  generating the unique serial, prevent duplicates etc. small example on how to create / verify them.</p>
  <p>Here is the RFC I'm talking about: <a href="https://www.rfc-editor.org/rfc/rfc1982" rel="nofollow noreferrer">https://www.rfc-editor.org/rfc/rfc1982</a>.</p>