On Feb 6, 2009, at 9:12, Jônatas Zechim <zechim....@gmail.com> 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

Reply via email to