Hi, my RSS feed page Hot Flash games stopped functioning some time ago. It used to display in a nice format like this feed:
but now just displays text.
How can I get it to display nicely again with the PHP extension.
Hi, my RSS feed page Hot Flash games stopped functioning some time ago. It used to display in a nice format like this feed:
but now just displays text.
How can I get it to display nicely again with the PHP extension.
Hi,
The problem is that your server is sending the file with the content type of a PHP file. You need to set the content type in the header using PHP (do this before any content is echoed out or it will fail), try:
header(‘Content-Type: application/rss+xml; charset=ISO-8859-1’);
I’m doing that and it still displays out text. That header needs to be between:
<?php
?>
Tags right?
yeah, and it should be before any output, if you post some of the code I might be able to better understand what’s happening.
Alex
also, just thought the <?php should be the very first text in the file, nothing - not even a space or return - should be before the opening <?php tag