Parse HTML files as PHP


/ Published in: Apache
Save to your folder(s)

Add this to your .htaccess file in Apache:


Copy this code and paste it in your HTML
  1. AddType application/x-httpd-php .html

URL: http://snippets.dzone.com/posts/show/459

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.