 |
? |
Author |
Message |
KingSmono
Joined: 01 Mar 2006
Posts: 2
|
Posted: Wed Mar 01, 2006 11:08 pm |

|
I want to display my RSS feed on my main webpage, but I can't use Server Side Inclusions (SSI)... my main page is in HTML, so I can't use PHP Inclusions either. I tried copying the PHP script into the HTML code on my main page, but that didn't work... any suggestions?
My RSS feed is located at:
http://www.smono.com/smonosoft.php
My main webpage is located at:
http://www.smono.com/
I would like to put the feed in a table on www.smono.com - Thanks in advance for your help!!
-Allen
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 648
|
Posted: Thu Mar 02, 2006 1:29 am |

|
KingSmono wrote: |
I want to display my RSS feed on my main webpage, but I can't use Server Side Inclusions (SSI)... my main page is in HTML, so I can't use PHP Inclusions either. I tried copying the PHP script into the HTML code on my main page, but that didn't work... any suggestions?
My RSS feed is located at:
http://www.smono.com/smonosoft.php
My main webpage is located at:
http://www.smono.com/
I would like to put the feed in a table on www.smono.com - Thanks in advance for your help!!
-Allen |
Actually you can use PHP in your .html pages, assuming you are host is using Apache. Just the following line to your .htaccess file, if there isn't one create on in the root of your web directory.
Code: |
AddType application/x-httpd-php php php3 html shtml |
That tells Apache to all .php, .php3, .html and .shtml files to be processed by the PHP engine.
Jim
|
|
|
 
|
 |
KingSmono
Joined: 01 Mar 2006
Posts: 2
|
Posted: Thu Mar 02, 2006 2:24 am |

|
|

|
 |
|
|
|