I have written the following simple script to test whether my gd library is working properly.
header("Content-type: image/jpeg"); $im = imagecreatefromjpeg("./test.jpg"); imagejpeg($im,'',20); imagedestroy($im);
This returns an error referring to the first line of code regardless of what the line is.
I am sure this means my gd library doesn't work, but webhostfreaks says the gd library is installed fine.
any ideas of how i can get round this?