Handling File Types

Other topics

Enable PHP to be parsed in HTML

If you want to include PHP code in your HTML file and you don't want to rename the file type from .html or .htm to .php, the below allows your HTML file to parse your PHP code correctly.

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

Contributors

Topic Id: 1690

Example Ids: 5456

This site is not affiliated with any of the contributors.