<?php
//Begin van de webpagina insluiten:
include_once('header.inc');
?>

<?php
function makeRandomPassword() {
  
$salt = "abchefghjkmnpqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()";
  
srand((double)microtime()*1000000); 
      
$i = 0;
      while (
$i <= 7) {
            
$num = rand() % 72;
            
$tmp = substr($salt, $num, 1);
            
$pass = $pass . $tmp;
            
$i++;
      }
      return 
$pass;
}
$random_password = makeRandomPassword();
echo 
"Het wachtwoord is (tussen de []) [<b>", $random_password, "</b>]</p>";


//Einde van de webpagina insluiten:
include_once('footer.inc');

?>