|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-09-10 11:40 UTC] tsysir at yahoo dot com dot tw
I use php 4.2.3 at apache 1.3.26 xml functions out document is empty I use php 4.2.2 at apache 1.3.26 xml functions is ok why?? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 11:00:01 2025 UTC |
source code: <? header("Content-Type: text/xml"); echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n\n"; echo "<!DOCTYPE rss PUBLIC \"-//Netscape Communications//DTD RSS 0.91//EN\"\n"; echo " \"http://my.netscape.com/publish/formats/rss-0.91.dtd\">\n\n"; echo "<rss version=\"0.91\">\n\n"; echo "<channel>\n"; echo "<title>Test Title</title>\n"; echo "<link>http://test.link</link>\n"; echo "<description>test description</description>\n"; echo "<language>en-us</language>\n\n"; echo "<item>\n"; echo "<title>Test Title</title>\n"; echo "<link>http://test.link</link>\n"; echo "</item>\n\n"; echo "</channel>\n"; echo "</rss>\n"; ?> if use php 4.2.3 is not run, php 4.2.2 is ok