Re: [PHP] Problems producing an image

2001-12-06 Thread Harshdeep S Jawanda
Try taking the header line out; that way if there is an error message you should be able to see it in 'View Source'. Finally managed to solve the problem - there was an empty line before the start tag (?) in the php file producing the image, that's all. So, for php files that are to produce

Re: [PHP] Problems producing an image

2001-12-05 Thread David Robley
On Thu, 6 Dec 2001 13:50, Harshdeep S Jawanda wrote: I am using the following code to try to produce a test image: ? //phpinfo(); $gif = ImageCreate(200,200); $bg = ImageColorAllocate($gif,0,0,0); $tx = ImageColorAllocate($gif,255,128,128); ImageFilledRectangle($gif,0,0,200,200,$bg);