Well... You just create a function to do it for you.
Something like this?:
(Based on port of mailmans random password)
// Create a random name
function MakeRandomString($length=6, $type='gif')
{
$vowels = array ('a', 'e', 'i', 'o', 'u');
$consonants = array ('b', 'c', 'd', 'f', 'g', 'h', 'k', 'm', 'n','p', 'r', 's', 't', 'v', 'w', 'x', 'z');
$syllables = array ();
$name = '';
foreach ($vowels as $v)
{
foreach ($consonants as $c)
{
array_push($syllables,"$c$v");
array_push($_syllables,"$v$c");
}
}
for ( $i=0;$i<=($length/2);$i++) $name=$name.$_syllables[array_rand($_syllables) ];
return ($name. '.' . $type);
}
Or something that creates a name that is to your liking.