Jump to content


Photo

set content-type to xml


  • Please log in to reply
No replies to this topic

#1 kdevine

kdevine
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 30 March 2006 - 09:51 PM

I'm using php to create xml content with header("Content-type: text/xml"); but it isn't working. I've been seraching for an answer and the closest I've come is some mention that I should check the server configuration. Could it be something with Apache or am I missing something else?

UPDATE:
Okay, so nevermind... I switched to header("Content-type: application/xml"); and it's working fine.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users