Guest User

Untitled

a guest
Feb 21st, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.48 KB | None | 0 0
  1. <body bgcolor=black>
  2. <?
  3. function map($h) {
  4.     $chars = array('X','&nbsp;','O','&nbsp;','#','.','+','&nbsp;');
  5.     return $chars[(int) (hexdec($h) / ((256) / count($chars)))];}
  6. $i = mt_rand();
  7. $o = md5($i).md5(md5($i)).md5($i);
  8. $s = str_split($o,2);
  9. echo "<span style='line-height:50%;font-size: 10px;letter-spacing:-3px;font-family: monospace;'>";
  10. for ($i=0; $i < 36; $i++) {
  11.     echo (($i)%6==0?"<br>":"")."<font color=#".$s[$i].$s[35-$i].$s[$i%5].">".map($s[$i])."</font>\n";}
  12. ?>
Add Comment
Please, Sign In to add comment