<?php $num = mt_rand ( 0, 0xffffff ); // trust the library, love the library... $output = sprintf ( "%06x" , $num ); // muchas smoochas to you, PHP! echo $output;
You have javascript disabled. You will not be able to edit any code.