389 posts
Posted 02 July 2015 - 12:09 PM
I have stitched together a small PHP script on my step-brothers webserver. The script I have created is a key generator, so I decided to open it up to the public. It is also extremely simple to use.
When creating a key, you only need to input a single variable, the length. The length can be as high as you want, but keep in mind that the web server will only allow up to 30 seconds for a script to be executed so it may timeout when using crazy lengths. Below is a few examples:
http://cdel.me/keygen.php?length=<value>
http://cdel.me/keygen.php?length=100http://cdel.me/keygen.php?length=1000000000000
Edited on 02 July 2015 - 10:09 AM
1140 posts
Location
Kaunas, Lithuania
Posted 02 July 2015 - 12:42 PM
So it's a random string/key/text generator? Pretty useless given the fact that it requires internet connection and that generating a key in your computer would be a lot faster. But, this place is not for some useful stuff, it's for stuff that people make and want to share. The generator looks very good, I like that you've put a maximum script execution timer. To make this even better, how about letting the user decide what characters they want? After you do that, how about patterns? For example, this pattern:
%w%w%w-%d%d-%w%w%d%d
could generate these strings:
ldg-90-ks73
kfy-46-oq76
mst-21-nt83
389 posts
Posted 02 July 2015 - 12:59 PM
So it's a random string/key/text generator? Pretty useless given the fact that it requires internet connection and that generating a key in your computer would be a lot faster. But, this place is not for some useful stuff, it's for stuff that people make and want to share. The generator looks very good, I like that you've put a maximum script execution timer. To make this even better, how about letting the user decide what characters they want? After you do that, how about patterns? For example, this pattern:
%w%w%w-%d%d-%w%w%d%d
could generate these strings:
ldg-90-ks73
kfy-46-oq76
mst-21-nt83
Yeah, I just felt like sharing. :P/> :D/>
Patterns seem like an excellent idea, i'll add them as an argument similar to how you input length. Thank you for the suggestion!
164 posts
Posted 02 July 2015 - 09:08 PM
Is there anything to stop any value being generated more than once? If yes, you could use this for something.
Edited on 02 July 2015 - 11:11 PM