<?php

function tangen(){
 $pool = "qwertzupasdfghkyxcvbnm";
 $pool .= "23456789";
 $pool .= "WERTZUPLKJHGFDSAYXCVBNM";
 $pool .= "!#?-";

 srand ((double)microtime()*1000000);
 for($index = 0; $index < 7; $index++)
 {
     $pass_word .= substr($pool,(rand()%(strlen ($pool))), 1);
 }
 return $pass_word;
}

#echo tangen();
?>