metulski Posted September 21, 2003 Share Posted September 21, 2003 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 More sharing options...
LAMP Posted October 22, 2003 Share Posted October 22, 2003 You could probably do this in PHP with header().... Link to comment https://forums.phpfreaks.com/topic/1042-set-content-type-to-textxml/#findComment-4027 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.