Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- header("Content-Type: image/png");
- $dimensions = htmlentities(ltrim($_SERVER['PATH_INFO'], '/'));
- $individual_dimensions = explode("x", $dimensions);
- $im = @imagecreate($individual_dimensions[0], $individual_dimensions[1])
- or die("Cannot Initialize new GD image stream");
- $background_color = imagecolorallocate($im, 195, 195, 195);
- // $text_color = imagecolorallocate($im, 233, 14, 91);
- // imagestring($im, 1, 5, 5, "Placeholder image", $text_color);
- imagepng($im);
- imagedestroy($im);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement