| 
	
 | 
 Posted by Lee on 07/01/06 14:31 
>> AddType application/x-httpd-php .htm (or .html OR both!) 
>> 
>> This needs to be placed either in an .htaccess or within the  
>> configuration file for your 
>> server. 
> 
> I would suggest against this.  Files that are appended with .php are 
> processed by the server and output to the browser as text/html files, 
> so if you want to use PHP inside normal webpages, simply rename your 
> html files .php.  If you change the htaccess configuration so that the 
> server parses .html files, the server has to scan and check every 
> single html file that is output, and especialy if you have a good 
> number of html files which are just static html, that's a waste of 
> server resources and speed.  I would suggest reserving .html to files 
> which never need to output dynamic content, and any html files which 
> need processing can use .php instead. 
 
 It's just in the one .html file and just a 'simple' read .txt file and 
display what is in that file. Which btw would be very little.
 
[Back to original message] 
 |