<?php $a = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; for ($x=0,$r=null;$x<8;$x++) { $r .= $a[mt_rand(0, strlen($a) - 1)]; } echo $r;
You have javascript disabled. You will not be able to edit any code.