hi:
I copied your code to my PHP4.3.x+Windows2000Server+Apache2, The picture does not show at a browser, only white page. I checked the sapce befor the "<?php" carefully.
In fact, befor I have a similar bad experience that I can't show picture at my machine. But If I put the code to a linux machine , it works. The situation is all my other php codes, including session,mysql, work fine. Only for this method, header(header("Content-type:image/jpeg"), the send out a image, it does not work.
I guess there must be some setting parameters problem at apache2. Does anyone have any idea?
Thanks