View Single Post
  #2 (permalink)  
Old Sep 27th, 2006, 20:00
ukgeoff ukgeoff is offline
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: RSS feeds in PHP

Firstly:
Quote:
What I know (or think I do)
- I am hosted on a linux server.
- I have to have a .php extension on my page because php stuck in .html doesn't display right?
- I cannot use the .htaccess in order to get my extension to be .html even though the page is in php, because I'm hosted on a linux server?
Your 2nd assumption is wrong. I have lots of html pages with embedded php code.
Your 3rd assumption is also wrong. Your Linux server is the underlying operating system. Your web pages will be being served from an Apache web server.

Your php include code looks good. Suggest you wrap the news feed in <div> tags so that you can position and style it with css where you like.
Reply With Quote