NYCPHP Meetup

NYPHP.org

[nycphp-talk] AddType application/x-httpd-php .gif .jpg .etc

csnyder chsnyder at gmail.com
Tue Mar 29 16:48:55 EST 2005


On Tue, 29 Mar 2005 16:08:38 -0500, Andrew Yochum <andrew at plexpod.com> wrote:
> I'm
> interested in the former - binaries.  Were you successful?  Any hiccups
> or pointers?
> 
> Yeah, I'm probably crazy.
> 

Like others I ask, why?

If you mean, just putting image binaries in place and running them
through the PHP handler, it could work but will the right Content-Type
header be sent? No, prolly not.

You could use an auto_prepend to handle headers. If you have an
accelerator in place it shouldn't be *that* much slower than Apache,
although I would worry about memory usage on BIG images.



More information about the talk mailing list