Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $im = imagecreatetruecolor ( 200, 60 );
- $white = imagecolorallocate ( $im, 0xFF, 0xFF, 0xFF );
- $red = imagecolorallocate ( $im, 0xC7, 0x14, 0x14 );
- imagefilledrectangle ( $im, 0, 0, 200, 60, $red );
- header ( "Content-Type: image/png" );
- imagepng ( $im );
- imagedestroy ( $im );
- ?>
Add Comment
Please, Sign In to add comment