Welcome to WebmasterWorld Guest from

Forum Moderators: bill & werty

Message Too Old, No Replies

rss & shtml



6:30 pm on Mar 11, 2005 (gmt 0)

10+ Year Member

I am trying to display rss feeds on my site without using javascript.

I've installed configured & tested Carp and it works fine however I have a problem in that all of my pages are shtml and rely heavily on server side includes which don't display if I change the file extension to .php.

I'm no programmer and know almost nothing about php, I can just install and configure scripts (if they're well documented).

Is there a way to use server side includes in .php pages?



5:35 am on Mar 12, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member

Hello DaGrip, and WebmasterWorld [webmasterworld.com].

These are the 2 solutions that I dreamed up:

1. Try using PHP includes instead of SSI
2. Try configuring your server to parse SSI in .php files.

I have an apache server and wanted to use SSI with .html files instead of .shtml files and used the following code in a .htaccess file in my root folder:

AddHandler server-parsed .html

I am guessing that you could try an .htaccess file with the following code:
AddHandler server-parsed .php

I did a bit of research for you and it looks like you may find more detailed answers in this thread: Parse HTML or not [webmasterworld.com]


11:39 pm on Mar 16, 2005 (gmt 0)

10+ Year Member

Thanks for the reply.

My solution was to put the php code in a seperate php file and use an SSI to include it on the page. It seems the quickest solution as changing all the SSI's to php includes would have taken ages!


Featured Threads

Hot Threads This Week

Hot Threads This Month