Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

SSI & php working together

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

Junior Member

10+ Year Member

joined:Feb 2, 2003
votes: 0

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)

New User

5+ Year Member

joined:Mar 10, 2006
votes: 0

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?