kdevine Posted March 30, 2006 Share Posted March 30, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/6215-set-content-type-to-xml/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.