1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <?php max_execution_time(200); $accountid = 2000000; $accountname = date("Y:m:h:m:i"); $password = date("Y:m:h:m:i"); $i=0; $imax=100; while($i<=$imax) { $accountname = substr(md5($accountname),0,-20); $password = substr(md5($password),0,-15); $accountid=$accountid+$i; echo "INSERT INTO `login` (`account_id`, `userid`, `user_pass`, `sex`, `email`) VALUES ('$accountid', '$accountname', '$password', 'M','[email protected]');"; //echo "<br>"; $i++; } ?> |