| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|SSI & php working together|
| 5:04 pm on May 7, 2006 (gmt 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)|
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