note 31340 added to ref.xmlrpc

From: Date: Thu, 17 Apr 2003 20:52:51 +0000
Subject: note 31340 added to ref.xmlrpc
Groups: php.notes 
Request: Send a blank email to php-notes+get-46752@lists.php.net to get a copy of this message
Hope this saves somone some frustration: As of php 4.3.1 and xmlrpc-epi-php-0.51 php would return a content type text/html instead of text/xml in its responses. this is a bad thing. Perl's XMLRPC::Lite for instance will not like you if you do this. Happily the solution is simple: header("Content-Type: text/xml"); Happy Hunting. -Nate -- http://www.php.net/manual/en/ref.xmlrpc.php http://master.php.net/manage/user-notes.php?action=edit+31340 http://master.php.net/manage/user-notes.php?action=delete+31340 http://master.php.net/manage/user-notes.php?action=reject+31340

« previous php.notes (#46752) next »