<?php
define(Title,"PHOTO");
$myRndNumber1 = Rand(1798138629,1798138638);
$myRndNumber2 = Rand(1798138639,1798138650);
$myRndNumber3 = Rand(1798138651,1798138660);
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5" />
<title><?php echo Title; ?></title>
</head>
<body>
你登入的IP是:<?php echo $_SERVER['REMOTE_ADDR']
//phpinfo();
?>
<table width="1" border="0">
<tr>
<td><img src="images/<?php echo $myRndNumber1;?>.jpg" height="200" width="200"/></td>
<td><img src="images/<?php echo $myRndNumber2;?>.jpg" height="200" width="200"/></td>
<td><img src="images/<?php echo $myRndNumber3;?>.jpg" height="200" width="200"/></td>
</tr>
</table>
<p>Random數值:<br><?php echo $myRndNumber1."<br>".$myRndNumber2."<br>".$myRndNumber3; ?></p>
</body>
</html>
預覽畫面: