I'm running on Win XP with IIS 5 and PHP 4.2.3. I'm pulling data from a MySQL database to generate a dynamic image, and the data seems to be coming through just fine. I've opened the original image in IE 6.0.26, so I know that it's something that I should be able to pull out of a database and display again. I really don't think it's a database issue. I'm outputting the Content-type header for the image (I've tried both jpegs and gifs) and the data for the image, but when I try to access the PHP file that I use for the image source (img src), I just get a broken image icon. This file is outputting nothing except the image header and data, so I don't think anything's corrupting it at run-time when the data is outputted. Anybody have any ideas on what the problem might be?