Philadelphia Reflections

The musings of a physician who has served the community for over six decades

Related Topics

Website Development
The website technology supporting Philadelphia Reflections is PHP, MySQL and DHTML. The web hosting service is Internet Planners.

George IV and Computers(1)
I got him into computers around 1960. He soon far surpassed me.

Programming;GRF4
Program notes by GRF4

New topic 2020-08-31 17:59:48 TITLE 681: Blog 1021 :
DESCRIPTION: this is where you put a small summary blurb which appears in the section surrounded by a black box.

New topic 694 2020-09-12 09:12:55 TITLE George IV Author :
DESCRIPTION: this is where you put a small summary blurb which appears in the section surrounded by a black box.

Process .htm and .html as php

It is sometimes helpful to include php scripting in files that do not have the file extension of php.

There is quite a lot of discussion on the web about this but at least on this server the answer is not what most people think.

In the .htaccess file in the root folder include these two lines:

AddType application/x-httpd-php .html .php .htm
AddHandler application/x-httpd-php .html .php

Originally published: Sunday, September 30, 2007; most-recently modified: Monday, June 04, 2012

 

Please Let Us Know What You Think

 
 

(HTML tags provide better formatting)