<?php
/*
随即函数应用
生成随机数—》创建图片-》随机数写进图片-》保持session中
 */
 for($i=0;$i<4;$i++){ $rand.=dechex(rand(1,15));//产生随机数
 }
 //新建个图像
 $image=imagecreatetruecolor(100,30);
 //设置颜色
$bg=imagecolorallocate($image,0,0,0);
//设置字体颜色
$textcolor=imagecolorallocate($image,255,255,255);//把字符串写在图像上角
imagestring($image,5,0,0,$rand,$textcolor);//输出图像
header("content-type:image/jpg");
imagejpeg($image);
?>$rand.=dechex(rand(1,15));//产生随机数
$rand后面的点起什么作用啊?