PHP Password Generator

Hi Coders,

After sombody to create me a function to generate a complex password depending upon the requirements.

Basically there are multiple types to specify to the function.

* 1 = All Lower Case Characters Only

* 2 = All Upper Case Characters Only

* 3 = All Numeric Characters Only

* 4 = All Special Characters Only

* 5 = Mix of Upper and Lower Case Characters Only

* 6 = Mix of Upper, Lower and Numeric Characters Only

* 7 = Mix of Upper, Lower, Numeric and Special Characters Only

I should also be able to specify a minimum size and a maximum size for the password.

I would also like to be able to specify the number of characters per type as a minimum.

So as an example let's say I want the password to be 16 characters long, contain a mix of upper, lower, numeric and special characters and each character type is to have a minimum of 2 characters. You can use more then 2 characters per type in this example, just 2 is the bare minimum required for the password to be valid.

Example of the function call might be:

$passwd = generatePassword($type, $sizeMin, $sizeMax, $lowerMin, $upperMin, $numericMin, $specialMin);

Any questions please ask away.


Kemahiran: PHP

Lihat lagi: use case types, password please, password me, ask coders, php create function, php special, password create, create password, generatepassword, php generate, please bare, generate complex password php function, php generate password complex, generator php, php complex password, complex php, php function required, php special characters, complex password function php, php complex password generator, password function, multiple number generator, php generate complex password, php password generator upper lower numeric, php number generator

Tentang Majikan:
( 33 ulasan ) Narre Warren South, Australia

ID Projek: #1544522

Dianugerahkan kepada:


hi, can do right now :)

$30 USD dalam sehari
(68 Ulasan)

3 pekerja bebas membida secara purata $70 untuk pekerjaan ini


Understood the project. Can make the password generator for you.

$80 USD dalam 0 hari
(107 Ulasan)

Hi! I can do the job! Best!

$100 USD dalam sehari
(8 Ulasan)