Jump to content

Set Content Type to "text/xml"


metulski

Recommended Posts

Hello,

 

Does anyone know how to set the Content Type of the page to \"text/xml\" so that the following tags are defines as xml but I can also do actions in php like database questioning before and use them in the xml tags?

 

The code has to instruct the Webserver to generate the appropriate Content-type header of the \"text/xml\" type.

 

Thanx

 

Frank

Link to comment
https://forums.phpfreaks.com/topic/1042-set-content-type-to-textxml/
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.