because we are on the internet.

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.

 

About Author

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vestibulum at arcu. Integer et risus. Morbi id tellus. Integer felis. Mauris malesuada, turpis vitae facilisis euismod, dui arcu adipiscing sem, eu vulputate leo ante in lacus. Sed porta accumsan lectus. Aenean ac sem. In consequat tempus velit. Phasellus leo enim, adipiscing a, egestas nec, pretium ut, pede. Mauris sollicitudin diam et mauris. Sed quis enim vel augue egestas lobortis. Etiam tempus ipsum vel neque.