Jump to content


Photo

Set Content Type to "text/xml"


  • Please log in to reply
1 reply to this topic

#1 metulski

metulski
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 21 September 2003 - 10:41 AM

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

#2 LAMP

LAMP
  • Members
  • PipPip
  • Member
  • 21 posts
  • LocationMissouri, USA

Posted 22 October 2003 - 06:21 AM

You could probably do this in PHP with header()....
Hope this sheds some light, [br]LAMP [br]******************************* [br]Warning: main(): Failed opening \'sig.php\' for inclusion (include_path=\'.:/usr/local/share/pear\') in /usr/local/www/data/phpfreaks/forums/topic.php on line 435




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users