Getting static HTML pages to process like PHP
Posted on Sunday, March 18th (3867 days ago)
Moving away from ASP development and into PHP requires re-learning many things. Today’s lesson involves getting static pages to run through the PHP processor.
In your .htaccess file (if you have one in place) add the following:
AddType application/x-httpd-php .html .php .htm
About Joseph R. B. Taylor
Joseph R. B. Taylor is a designer/developer who makes stuff for screens of all shapes and sizes. He currently works at Edvisors, Inc. where he creates screen-based experiences for used by millions of college students every year.