Home
Home Page
Krossbrauzernoe alignment on the center (table height=100 %)
Lists a la MS Word
Features of links « upwards pages »
Tables and borders
We get rid from cellpadding and cellspacing
Optimum use MySQL
Competent job with files: exclusive blocking of files
How to learn{find out} the size of a file on any web - server
Regular expressions
Processing of lines in RNR
Creation of system of the account of visitings
Tracking a content on dynamic sites
CSS: advice{councils} and receptions, a part 2
CSS: advice{councils} and receptions, a part 1
Ten rules of a spelling of a safe code on PHP
About tags and metatags
Potential vulnerability of php-scripts
Removal{Distance} of a line from a file
The generator of passwords
Links
 

The generator of passwords

Almost on each site with registration there is a form " To recollect the password ", with its{her} help it is possible to receive the forgotten password not E-Mail. To send the password not absolutely safely as frequently users use one password in several places.


On this, a good form is replacement of the old password on new, created automatically.


It is below resulted enough a simple and interesting way of his  creation:



<?

$d=Array ("ba", "be", "bo", "di", "du", "do", "de", "ku",

         "ka", "ke", "si", "su", "re", "ru", "ro", "ra",

          "la", "le", "li", "lo", "ve", "zde", "ka");


$str = "";

for ($i=0; $i <rand (3,4); $i ++) $str. = $ d [rand (0, count ($d))];

print $str;

?>


Turn out enough interestnye and easily remembered passwords: For example:



kakamaka

turuda

kamana

sukika

, etc.