[Sussex] PHP and XML
Daniel Pope
mauve at mauveweb.co.uk
Tue Oct 21 16:36:47 UTC 2003
It does. But you haven't specified a content-type.
You probably want to include the line
header("Content-Type: text/xml");
right at the start of the file.
Dan
On Tuesday 21 October 2003 4:57 pm, Matthew Macdonald-Wallace wrote:
> Afternoon... :p
>
> OK, hands up all those who can spot what's wrong with this source code:
> http://www.truthisfreedom.org.uk/rss/rss.phps and tell me why it doesn't
> produce the same output as http://www.truthisfreedom.org.uk/rss/feed.xml
> when all I've done is take the same file, and enclosed it in echo() and
> print() functions?
>
> Answers on a postcard please... :D
>
> Matt
> --
> +----------------------------------+
>
> |Matthew Macdonald-Wallace |
> |The Truth Will Set you Free |
> |http://www.truthisfreedom.org.uk/ |
>
> +----------------------------------+
> It's a fixer-upper. What's the problem? We get a bunch of priests in
> here ... -- Homer Simpson Treehouse of Horror
>
>
> _______________________________________________
> Sussex mailing list
> Sussex at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/sussex
More information about the Sussex
mailing list