Forum Moderators: coopster
Currently, Im using the following code in htaccess:
AddType text/html .html .htm .php
AddHandler server-parsed .html .htm .php
AddHandler application/x-httpd-php .php .html .htm
and supported by php.ini with this code:
allow_url_include = On
-
Just want to know whats the best way to have php include in html pages and other possibilities.
As far as this section ...
AddType text/html .html .htm .php
AddHandler server-parsed .html .htm .php
AddHandler application/x-httpd-php .php .html .htm
The AddHandler for PHP today depends on your server setup and PHP install type, but typically all you need is something along the lines of ...
AddHandler php5-script php htm html