Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $img = imagecreatetruecolor(50, 50);
- $black = imagecolorallocate($img, 0, 0, 0);
- $white = imagecolorallocate($img, 255, 255, 255);
- imagefill($img, 0, 0, $white);
- imagerectangle($img, 0, 0, 49, 49, $black);
- header("Content-Type: image/png");
- imagepng($img);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement