Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- header('content-type:image/png');
- $image = imagecreatetruecolor(620,180);
- $text = 'root @ defacerPHC';
- $text2 = ': ';
- $text3 = '~';
- $text4 = '#';
- $salam = 'Assalamualaikum';
- $ip = "$_SERVER[REMOTE_ADDR]";
- $hadis = file_get_contents('http://mampus.net/hadis.php');
- $hadis = strip_tags($hadis);
- $hadis = wordwrap($hadis,65,"acey");
- $hadis = explode("acey", $hadis);
- $c = count($hadis);
- $c = $c * 5 + 180;
- $iz = 110;
- imagestring($image, 10, 7, 10, $text, 0xFF0000);
- imagestring($image, 10, 160, 9, $text2, 0xFFFFFF);
- imagestring($image, 10, 170, 15, $text3, 0x0099CC);
- imagestring($image, 10, 180, 10, $text4, 0xFFFFFF);
- imagestring($image, 10, 193, 10, $salam, 0xFFFFFF);
- imagestring($image, 10, 360, 10, $ip, 0xFFFFFF);
- imagestring($image, 10, 7, 60, 'Hadis Hari ini: ', 0xFF0000);
- foreach ($hadis as $derp) {
- imagestring($image, 10, 4, $iz, $derp, 0xFF66CC);
- $iz += 14;
- }
- imagepng($image, null, 9);
- imagedestroy($image);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment