On Thu, 6 Dec 2001 13:50, Harshdeep S Jawanda wrote:
> I am using the following code to try to produce a test image:
> $gif = ImageCreate(200,200);
> $bg = ImageColorAllocate($gif,0,0,0);
> $tx = ImageColorAllocate($gif,255,128,128);
> ImageString($gif,3,70,90,"it works !",$tx);
> // send the image
> header("content-type: image/jpeg");
> I am trying to display this image on the page
> http://www.harshdeepjawanda.com/t2.html .
> Phpinfo() shows that PHP was compiled with: --with-gd, --with-jpeg-dir
> and --with-png-dir, among others. Why then am I not able to see any
Try taking the header line out; that way if there is an error message you
should be able to see it in 'View Source'.
David Robley Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES Flinders University, SOUTH AUSTRALIA
Enter that again, just a little slower.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]