View Single Post
Old 06-09-2008, 04:50 PM   #5 (permalink)
SpYkE112
The Contributor
 
Join Date: May 2008
Location: Denmark
Posts: 70
Thanks: 3
SpYkE112 is on a distinguished road
Default

I just made this one earlier today:
PHP Code:
function randStr($len 32) {
        
$str "";
        
        for(
$i 0$i $len$i++)
        {
            
$str .= chr(rand(33,126));
        }
        
        return(
$str);
    } 
Which is, full alphabet (upper and lower case), some funny char's and numbers :)
SpYkE112 is offline  
Reply With Quote