Wouldn't it be simpler to do something along the lines of.
$serial = mt_rand(000000000,999999999);
mysql_query("INSERT into `serials` (`serial`, `email`) VALUES('$serial', '$email')");
Then instead of having to input loads, or even create a script to generate loads which will take up a lot of your database space. Why not just do it so it only inputs ones in use, if they input a serial that is not in the table then it just refuses access?
Obviously you're going to want to add in an if statement to make sure it is unique. I can post that if you want too just figured you wouldn't need it as it's simple stuff
Hope this helps.
__________________
Did I help you? If so add to my Talkupation! =]
|