Ladies and Gentlemen,
I am new to web development and having a few issues.
Let’s start with the page source from within a browser:
What I'm trying to do is get my RSS feed to work by pulling data from an SQL database.
So in the root dir where dance.php is I have created my .htaccess with "AddType application/x-httpd-php .xml"
Therefore telling my web server to treat .xml documents as php initially.
So let’s look at the source code in dreamweaver: http://img139.imageshack.us/img139/9582/13ic8.jpg
As you can see by comparing the source from the client to the source from dreamweaver that the PHP is being executed before it's passed to the browser.
APART from the header request, which gets passed.
Here is the actual page in question: http://dev.gardsys.co.uk/dance.php
If you run this page through a feed validator http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fdev.gardsys.co.uk%2Fdance.php
As you can see it's 'seeing' my header change request and it's saying "Feeds should not be served with the "text/html" media type" - but if my header change request would have worked everything would be good.
Now that apache server above is one I've setup, but uploading all my content to a hosted apache server http://www.exclusivefit.com/code_cracking/dance.php
it all works fine.
Now the data is exactly the same, so it must be a backed apache or php configuration problem, this is where I need your help!