Urgent: Help on output binaries needed

Hello to all,

I have following problem :
I load a gif into memory and print it to stdout.
If I have a request by a browser only IE can show it, but Netscape Navigator
can't show it.

I tried to edit the header to "cout << "Content-type: image/gif" << endl <<
endl;
			    cout << "Content-length: 1315" << endl << endl;"
but this doesn't function, because the all browser interpreted this as body
and not as header.
How can I fix this problem or is there a work around to print out or
transmitting binaries, gifs or jpegs to browsers?

regards

> Michael Ganz
> Staatl.gepr.DV-Techniker
> Anwendungsentwicklung
> IHS Technologies GmbH
> Barthstr. 24
> D-80339 München / Germany 
> Tel.:  +49 (0)89 54 09 24-62
> Fax.: +49 (0)89 54 09 24-10
> E-Mail: mganz@ihs.de
http://www.ihs.de

Received on Wednesday, 27 September 2000 05:47:18 UTC