Re: Returning image/gif Content-type

Ron Klatchko (ron@narrowline.com)
Thu, 06 Feb 1997 09:29:13 -0800

Message-Id: <32FA14E9.77D0@narrowline.com>
Date: Thu, 06 Feb 1997 09:29:13 -0800
From: Ron Klatchko <ron@narrowline.com>
To: Nigel Metheringham <Nigel.Metheringham@theplanet.net>
Subject: Re: Returning image/gif Content-type

Nigel Metheringham wrote:
> Oops... what I said is a bit wrong, but the thrust was right...
> 
> I was specifically thinking of my use with it within the PHP apache
> module, where you don't have stdin/stdout etc - you have apache buffers to
> work with.

You are right in regards to Apache modules, but since we're discussing
FastCGI here, that's hardly a relevant issue.

> I guess that a similar problem may occur with FCGI, especially if the
> libraries you are linking with don't respect your overriding of the normal
> stdio stuff to give the tokenised stream used by fastcgi.

GD makes use of stdio.  Make sure to recompile it with the fastcgi stdio
include.

moo