Re: Read a XML (not a file)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Feb 6, 2009, at 9:12, Jônatas Zechim <zechim.php@xxxxxxxxx> wrote:

Hi there, i want do read a XML like this:

Server.php
<?php

 header ("content-type: text/xml");

echo "<?xml version=\"1.0\" encoding=\"iso-5718\" ?> <images>  <image>
 <ID>1</ID>
  <album>teste<album>
  <path>/images/teste.jpg</path>
</image>
</images>";
?>

How can do this?

zechim


-- PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Remove the php tags and code, and just save the file as XML. Then you can have another file read in and or echo the HTML


Bastien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux