What parameters does the substr function take? And does anyone know what a percent sign does... Ex: $xyz = substr($rand, $Random % 64,1)
http://www.php.net/substr
and the % is for the Modulus operator: http://www.php.net/manual/en/language.operators.php