MrPaan

PHP Signature Tibidi

Jul 14th, 2013
281
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.94 KB | None | 0 0
  1. <?php
  2.  
  3. header('content-type:image/png');
  4. $image = imagecreatetruecolor(620,180);
  5. $text = 'root @ defacerPHC';
  6. $text2 = ': ';
  7. $text3 = '~';
  8. $text4 = '#';
  9. $salam = 'Assalamualaikum';
  10. $ip = "$_SERVER[REMOTE_ADDR]";
  11. $hadis = file_get_contents('http://mampus.net/hadis.php');
  12. $hadis = strip_tags($hadis);
  13. $hadis = wordwrap($hadis,65,"acey");
  14. $hadis = explode("acey", $hadis);
  15. $c = count($hadis);
  16. $c = $c * 5 + 180;
  17. $iz = 110;
  18. imagestring($image, 10, 7, 10, $text, 0xFF0000);
  19. imagestring($image, 10, 160, 9, $text2, 0xFFFFFF);
  20. imagestring($image, 10, 170, 15, $text3, 0x0099CC);
  21. imagestring($image, 10, 180, 10, $text4, 0xFFFFFF);
  22. imagestring($image, 10, 193, 10, $salam, 0xFFFFFF);
  23. imagestring($image, 10, 360, 10, $ip, 0xFFFFFF);
  24. imagestring($image, 10, 7, 60, 'Hadis Hari ini: ', 0xFF0000);
  25. foreach ($hadis as $derp) {
  26. imagestring($image, 10, 4, $iz, $derp, 0xFF66CC);
  27. $iz += 14;  
  28. }  
  29. imagepng($image, null, 9);
  30. imagedestroy($image);
  31. ?>
Advertisement
Add Comment
Please, Sign In to add comment