homepage Welcome to WebmasterWorld Guest from 54.243.17.133
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
SSI & php working together
kila_m




msg:1249404
 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

 

TomAnthony




msg:1249405
 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?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved