How to have php serve xml?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
user51564
Forum Newbie
Posts: 16
Joined: Sun Apr 30, 2006 3:39 pm
Location: Ok
Contact:

How to have php serve xml?

Post by user51564 »

how do i get php5 to serve xml? :roll:
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

no, although php5 makes it a whole lot easier to work with xml :wink:
Last edited by John Cartwright on Wed Jul 05, 2006 11:05 pm, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

output XML and the XML content-type: text/xml

header()
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

Jcart wrote:no,
Why not? 8O
Post Reply