~danielholm/bevismaskinen/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
#Funny image
$funsaid = $_POST["funsaid"];

Header ("Content-type: image/png");
$img_handle = imageCreateFromPNG("http://www.icemelon.com/images/tutorials/bannerboy.png");
$color = ImageColorAllocate ($img_handle, 100, 100, 100);
$ip = $_SERVER['REMOTE_ADDR'];
ImageString ($img_handle, 3, 10, 9,  $funsaid, $color);
ImagePng ($img_handle);
ImageDestroy ($img_handle); 

?>