Hab da mal was lustiges zusammen gekotet, für alle die unkreativ sind:
http://www.equestria.in/hotelname.php
Kommt schon so einiges kurioses raus.
Source:
[hide]
PHP
<?php
function gen(){
$v = array("a","e","i","o","u");
$a = array("a","b","d","e","f","g","i","k","l","m","n","o","p","r","s","t","u","w","z");
$k = array_diff($a,$v);
$k1 = strtoupper($k[array_rand($k)]);
$v1 = $v[array_rand($v)];
$k2 = $k[array_rand($k)];
$v2 = $v[array_rand($v)];
$hotelname = $k1.$v1.$k2.$k2.$v2;
return $hotelname;
}
echo "<center>";
for($i=0;$i<20;$i++){
echo gen()."<br />";
}
echo "</center>";
?>
Alles anzeigen
[/hide]