Re: [PHP] Generating XML

2001-04-25 Thread Jeff Carnahan
}I'm trying to write a script that generates XML dynamically and is }viewable in a browser (IE). Even though I send a header saying }"Content-type: text/xml\n", PHP still puts in a Content-type of }text/html before that. How can I write the script so that this doesn't }happen? } }Here's the script

[PHP] Generating XML

2001-04-25 Thread Young Chi-Yeung Fan
Hi, I'm trying to write a script that generates XML dynamically and is viewable in a browser (IE). Even though I send a header saying "Content-type: text/xml\n", PHP still puts in a Content-type of text/html before that. How can I write the script so that this doesn't happen? Here's the script: