[Sussex] PHP and XML
Gareth Ablett
garethablett at phpw.fsnet.co.uk
Tue Oct 21 19:42:51 UTC 2003
> 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?
>
you do relise that what you have created has no use for php at all you are
only printing/echo litiral values.
for a database driven output you need a lot more.
but for the browser to work out that its a .xml file you will need to set
the header.
alternativle i have no idea wwhy it wont work unless you give me an error
report or the display it shows you
Gareth Ablett
More information about the Sussex
mailing list