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.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to