PHP Random Password Generator

How to create a random password generator with PHP

I found this cool snippet and I wanted to share it with you.

The code basically uses predefined characters to create a string.

You can set the length and the strength.

Now you just need to call the function wherever you want.

8 Responses to “PHP Random Password Generator”

  1. Nicole August 12, 2011 at 9:16 pm #


    I am looking at the categories on the right. Do you also write about a forum creation?

    Nicole 🙂

  2. Nicole August 14, 2011 at 3:30 pm #


    I need a forum that I can easily customize and manage. that would be great from the SEO perspective.

    I have installed phpBB, and updated it to the newest version, but it is confusing, as i have no idea where to begin, I would like to customize it, but see no manuals.

    SMf looks simpler. Thank you for the link.
    I would use it.


    • quicoto August 14, 2011 at 9:28 pm #

      Never did it on phpBB or SMF but shouldn’t be hard. Look for the template folder and happy coding 😛

      Good luck 😉

  3. Nicole August 14, 2011 at 3:34 pm #

    I have one more question.

    I see in the SEO Quake panel the date when you website was created. It is showed by “Webarchive age”. Did you do anything so they have your website archived?
    i have a few websites, but none of them has this feature structured.

    • quicoto August 14, 2011 at 9:27 pm #

      Using the extension you saw CodeGround’s creation date?

      I didn’t do anything. It has to be something about WordPress.

      Does the date match the first post date?

  4. Nicole August 18, 2011 at 1:09 pm #

    it says February 7, 2008 . Is it the date when you created the site?

Leave a Reply

Add <code> Some Code </code> by using this tags.