The only way I see is to create a random string and compare it with a list of already used codes (to prevent repeated ones), but depending on the site it can be a large quantity of comparisons. Plus changing/removing the is_numeric verifications sounds a bit boring xD I will get to it later on I think, maybe there's a way to do it in SQL
__________________
 
asp.net stole my soul.
|