serialnumber.php

<?php function serialNumber() { $s = strtoupper(md5(uniqid(rand(),true))); $serialnr = 'SER-' . substr($s,0,8) . '-' . substr($s,8,4) . '-' . substr($s,12,4). '-' . substr($s,16,4). '-' . substr($s,20); return $serialnr; } echo serialNumber(); ?>
To obtain a unique serial number.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.