NYCPHP Meetup

NYPHP.org

[nycphp-talk] Minimal overhead

Jakob Buchgraber jakob.buchgraber at googlemail.com
Sun Sep 2 12:49:42 EDT 2007


Elliotte Harold wrote:
> Suppose I don't want it to be so obvious that I'm using PHP on a site, 
> Or that I just want the freedom to not always use PHP in a given 
> document. Thus I decide to configure Apache to treat all .html files as 
> PHP files.
> 
> How much overhead does this add for the common case when a file only 
> contains static data, no PHP? Would I notice the hit?
> 

In case you mainly want to hide the use of php why not call your files 
.jsp or .aspx and sending fake headers or just remove the PHP headers 
and call your php files .htm and the normal files .html

Jakob
-- 
Sun Certified Programmer for the Java 2 Platform, Standard Edition 5.0



More information about the talk mailing list