ok well i did some more reasearch and i edited the code to make it like this
Code:
<?php
header("Content-type: image/png");
$number = rand(1,9);
if($number==1)$string2 = "all your base r belong 2 us";
if($number==2)$string2 = "somebody set up us the bomb";
if($number==3)$string2 = "Resistance is futile";
if($number==4)$string2 = "R0D3NTS are cute";
if($number==5)$string2 = "H4X0R in thE yur PC1?!";
if($number==6)$string2 = "Dude w3re's my c4r?";
if($number==7)$string2 = "s0m3on3 st0l3 my mega hurtz!!";
if($number==8)$string2 = "move zig for great justice";
if($number==9)$string2 = "Rodents make the world cool";
$im = imagecreatetruecolor(400, 25);
$bg = imagecolorallocatealpha($im, 200, 200, 200, 127);
imagefill($im, 0, 0, $bg);
$text_color = imagecolorallocate($im, 255, 0, 0);
imagestring($im, 5, 6, 5, $string2, $text_color);
imagepng($im);
imagedestroy($im);
?>
now this is supposed to work but i get this:
Code:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
anyone?