Linux KNOWLEDGE by Spreech 

 home |
Too Cool for Internet Explorer

PHP Script: Passwort generieren

Bloged in php,Server,Uncategorized by manuel.schwab Montag Juli 23, 2007
[?php

$pool = „qwertzupasdfghkyxcvbnm“;

$pool .= „23456789“;

$pool .= „WERTZUPLKJHGFDSAYXCVBNM“;

srand ((double)microtime()*1000000);

for($index = 0; $index < 5; $index++) { $pass_word .= substr($pool,(rand()%(strlen ($pool))), 1); } ?]

Danke an: http://www.stadtaus.com/tutorials/content_cat_7_id_19.php

Keine Kommentare »

No comments yet.

Leave a comment


RSS feed for comments on this post. TrackBack URI

Powered by Wordpress, theme by Dimension 2k