Re: Read a XML (not a file)

From: Date: Fri, 06 Feb 2009 14:24:55 +0000
Subject: Re: Read a XML (not a file)
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-287815@lists.php.net to get a copy of this message
On Feb 6, 2009, at 9:12, Jônatas Zechim <zechim.php@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

« previous php.general (#287815) next »