| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|SSI & php working together|
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
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?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved