[SF Coders] Password Generator - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: PHP The Hypertext Preprocessor (https://www.supportforums.net/forumdisplay.php?fid=21) +---- Thread: [SF Coders] Password Generator (/showthread.php?tid=23604) |
[SF Coders] Password Generator - ★Cooldude★ - 12-05-2011 PHP Code: function GeneratePass($length = 5){ Above is a function which will generate a password of a given length. A minimum length of 5 is required. The generated password is then sanitised ready for use in a database. The given password will be in the following format: [(Given length -3)X A-Z] [2X 0-9] [1 X Symbol] Example: PHP Code: GeneratePassword(15) Output: aAWfUxZyGTeb56% Usage: PHP Code: GeneratePassword(LENGTH) RE: [SF Coders] Password Generator - BreShiE - 12-05-2011 Great release CoolDude, I think you're going to fit in nicely here at SF Coders. This was great for your first project. RE: [SF Coders] Password Generator - ★Cooldude★ - 12-05-2011 (12-05-2011, 03:09 PM)BreShiE Wrote: Great release CoolDude, I think you're going to fit in nicely here at SF Coders. Thanks. Do you have any suggestions for it? RE: [SF Coders] Password Generator - Infinity - 12-05-2011 (12-05-2011, 03:23 PM)★Cooldude★ Wrote: Thanks. Do you have any suggestions for it? It's pretty nice and congratulations on your entry into the coders! RE: [SF Coders] Password Generator - ★Cooldude★ - 12-06-2011 (12-05-2011, 08:09 PM)Infinity Wrote: It's pretty nice and congratulations on your entry into the coders! Thank you. RE: [SF Coders] Password Generator - milopeach - 12-06-2011 Haha, It will also be your last - I kid, It will not be you last. On-Topic: Great work man, I Like to see projects outside of VB, This was interesting. RE: [SF Coders] Password Generator - ★Cooldude★ - 12-06-2011 (12-06-2011, 07:26 AM)milopeach Wrote: Haha, It will also be your last - I kid, It will not be you last. :O Nooo. Thanks. I am actually planning on creating a VB.Net version. RE: [SF Coders] Password Generator - Benjamin Franklin - 12-06-2011 PHP Code: function passgen($len = 5){ RE: [SF Coders] Password Generator - ★Cooldude★ - 12-07-2011 ^That's very interesting, you've introduced me to some new functions. |