| | how |
|
|
|
CODE function RandomPass( $passLength ) { $PassChars = 'ABVDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; $Vouel = 'aeiou'; $Pass = ""; for ($index = 1; $index <= $passLength; $index++) { if ($index % 3 == 0) { $randomNumber = rand(1,strlen($Vouel)); $Pass .= substr($Vouel,$randomNumber-1,1); }else { $randomNumber = rand(1,strlen($PassChars)); $Pass .= substr($PassChars,$randomNumber-1,1); } } return $Pass; } $regpass = RandomPass(6);
try this:
<?php function createPassword($length) { return substr(md5(uniqid(rand(), true)), 0, $length); } ?>
Similar Topics
Keywords : creat password php
I'm trying to make a simple password page for one of my PHP experiments. Every time I try to many of u guys would already have noticed that now a days , on most of the websites , when some one I have searched and searhed and searched for a good Password Protection Mod for the PHPBB Forums, Hey guys quick question about trap 17s mysql version. How do i change the password to the database? Looking for creat, password, php
|
|
![]() creat password with php? |
| ADD REPLY / Got an Opinion! | a humble request :-) | RAPID SEARCH! | Free Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute your information that might help someone here. Ask your Doubts & Queries to get answers.. "Together, We enlight each other!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|