View Single Post
Old 02-04-2011, 08:49 PM  
Denny
Too lazy to set a custom title
 
Denny's Avatar
 
Industry Role:
Join Date: Feb 2005
Posts: 17,232
Quote:
Originally Posted by HomerSimpson View Post
you can also tell apache to parse .html file same as .php ones
this way you'll have .php files with html extension...

it's easy to do and to maintain in future...
yep, I did it like that way a few times.

Code:
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm
__________________

Last edited by Denny; 02-04-2011 at 08:52 PM..
Denny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook