I'm exec the following code from the PHP site:
However, the output is simply the url of the page.PHP Code:header ("Content-type: image/jpeg");
$im = @imagecreatetruecolor(50, 100) or die("Cannot Initialize new GD image stream");
$text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, "A Simple Text String", $text_color);
imagejpeg($im);
imagedestroy($im);
This has been a recurring issue I'm just no revisiting. I can't even tell if GD is installed (though I only get "Call to undefined function" errors with imagecreate, imagecreatefromgif functions). Other times I get this type of output. This is not my site but a friends whom I'm trying to fix.
Any solutions?
Thanks.
Tim Trice






Bookmarks