Re: Execute script then output image.

From: Date: Thu, 11 Jul 2002 11:52:46 +0000
Subject: Re: Execute script then output image.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-107103@lists.php.net to get a copy of this message
On Thu, 11 Jul 2002 21:00:36 +1000, you wrote: >How do I output a static image through a php script? > >it had something to do with headers but I can't remember exactly what. You need to output the correct content-type header for the image (eg image/gif), take it's size and output it as content-length, and suppress error reporting. Then output the image data.

« previous php.general (#107103) next »