<?php $number=chr(rand(48,57)).chr(rand(65,90)).chr(rand(97,122)); echo '
'; for($i=1;$i<=4;$i++){ echo $number{rand(0,2)}.'-'; }
$rand = '';
for($i=0; $i<4; $i++){
$rand.= dechex(mt_rand(1,15));
}
echo $rand;