Jump to content

Archived

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

metulski

Set Content Type to "text/xml"

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

Share this post


Link to post
Share on other sites

You could probably do this in PHP with header()....

Share this post


Link to post
Share on other sites

×

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.