You are Here:
FAQ
Scripting and Programming Languages
PHP
Article #7
|
How to parse PHP within HTML filesCreate a new .htaccess file or edit an existing one. Create a ".htaccess" file containing the following line: AddType x-mapp-php4 .html .htm If you are using php 5 instead of php4 then the line should be as follows: AddType x-mapp-php5 .html .htm Upload this file into into the root of your domain. The changes take effect immediately. This will affect the directory the .htaccess is placed in and all the sub-directories underneath it. |
© 2008 1&1 Internet Inc - About 1&1 Internet