<?php
//http://exp.dk/spm/671091
$values = array();
$values[] = "abcdefghijklmnopqrstuvwxyz";
$values[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
$values[] = "0123456789";
$streng = "";
for($i = 0;$i < 24; $i++)
{
$val = $i % 3;
$length = strlen($values[$val])-1;
$random = rand(0,$length);
$value = $values[$val][$random];
$streng .= $value;
}
echo 'Strengen er: <b>'.$streng.'</b>';
highlight_file("rand.php");
?>