Getting static HTML pages to process like PHP

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 humble designer/developer who makes stuff for screens of all shapes and sizes. He is currently the lead UI/UX Architect at MScience, LLC, where he works to create simple experiences on top of large rich datasets for their customers and clients.