Hello people,I just wrote a small php script to get the color of your webpage changed by second,and I just want to show it to you.
Here is the code:
”
<html>
<head>
<title>GET YOUR COLOR</title>
<meta http-equiv=”refresh” content=”1″>
</head>
<?php
$result = rand(0,9) . rand(0,9) . rand(0,9) . rand(0,9) . rand(0,9) . rand(0,9);
?>
<body marginheight=”0px” marginwidth=”0px” bgcolor=”#<?php echo $result; ?>”>
<font color=”#FFFFFF” size=”+6″ style=”font-family:Arial, Helvetica, sans-serif “>
Backgroundcolor: #<?php echo $result; ?>
</font>
<table width=”100%” height=”100%”>
<tr>
<td>
</td>
</tr>
</table>
</body>
</html>
”
and here is a link,click it and you will see how to code works.
Leave a comment
You must be logged in to post a comment.