| 
 Posted by Bob Bedford on 12/21/07 08:25 
>>Also I've tried to do a "imagepng()" but instead of showing the image it 
>>shows the source of the image. 
> 
> This means that you've sent an inappropriate HTTP Content-Type header or 
> none at all, so the server will default to text/plain. Quite easy to fix 
> with a header() call. 
> 
Hi Micha, 
thanks for replying. 
 
The problem is that I've to show html code and images on the same document. 
I tried this: 
header('Content-type: text/plain'); 
 header('Content-type: image/png',false); 
 
but the image is still shown as text. 
How can I set multiple headers ?
 
  
Navigation:
[Reply to this message] 
 |