raydowe Posted October 24, 2008 Share Posted October 24, 2008 I've been stuck on this forever! It's doesn't make sense. I have a file at http://www.raydowe.com/proxy.php. The file literally contains nothing except: <?php echo file_get_contents("http://muskokarunning.blogspot.com/atom.xml"); ?> Can anybody tell me why http://muskokarunning.blogspot.com/atom.xml has 10 posts but the proxy.php file only echo's the oldest 7? This problem doesn't happen with flash, it doesn't happen with any other feed I have tried. I've tried on several computers with 5 different browsers after clearing the cache. I'm am desperate for help, feel like I've tried anything. Any advice would be greatly appreciated. Link to comment https://forums.phpfreaks.com/topic/130010-php-echos-stale-content/ Share on other sites More sharing options...
DarkWater Posted October 24, 2008 Share Posted October 24, 2008 Add the following line RIGHT after the opening PHP tag so that your browser actually parses it as XML (and so we can see it better): header('Content-Type: text/xml'); Link to comment https://forums.phpfreaks.com/topic/130010-php-echos-stale-content/#findComment-674077 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.