You are Here: FAQ ->Scripting and Programming Languages->PHP->Article #7


WebHosting 5.0 This article is for 1&1 Linux WebHosting only.


How to parse PHP within HTML files



Create a new .htaccess file or edit an existing one.

Create a ".htaccess" file containing the following line:
AddType x-mapp-php4 .html .htm

Upload this file into into the root of your domain. The changes take effect
immediately. This will effect the directory the .htaccess is placed in and all the
sub-directories underneath it.


Print Article
How useful was this article?
(From 5 = Very Useful to 1 = Not useful at all):
1 2 3 4 5