Welcome to WebmasterWorld Guest from 54.145.173.147

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

SSI & php working together

   
5:04 pm on May 7, 2006 (gmt 0)

10+ Year Member



I want server side includes and PHP to work in .htm files but they BOTH wont work together.

Anyone know why? Here is my .htaccess file:

AddHandler server-parsed .html
AddHandler server-parsed .htm

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

11:42 pm on May 7, 2006 (gmt 0)

5+ Year Member



I've never tried this, but it strikes me you are going to run into problems (like you have).

Before we investigate trying to make it work, can you not use PHPs include() function instead of SSI?