Re: How to make automatic code changer?
You men registration/serial code type generation.
what's this code going to be for? I mean will your software be unregistered without it?
If you're writing and selling a product that requires a serial code to be generated then you've probably already got some kind of process for generating serials? (manual or a separate program?) all you have to do is take that logic and put it into a web page.
if the question is a bit more broad than that (like how do you write software that's crippled or won't run unless it has a serial number, then your serial generator has to match up with the software that you're licensing...)
you see how writing the website to give out the codes might be starting at the wrong end of the problem...
when you've figured out how to write the software that requires a serial key, then generating a serial key becomes the easy bit! -because you know what the program is looking for.
or are you looking for some kind of support number?
(like you are customer number ####,)
in that case, if you;re assigning customers customer numbers that are unique you should probably store them in a database, and they should be sequential rather than random, and form a unique ID in the table (possibly the primary key linking order IDs to customer details and order details)...
Again, when you're written the site for customers to add their details to buy the products etc, just retrieving the auto-incremented field is a pretty simple job.
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."