ex1.php
<?php
$a = "abcdefghijklmnopqrstuvwxyz0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ";
$str = " ";
for ($i=1; $i <=6 ; $i++)
{
$str = $str.substr($a, rand(0,strlen($a)-1),1);
}
echo $str;
?>
1 comment:
Starting to basic
Post a Comment