Re: Parsing XML files from remote host
| From: | Simon Edwards | Date: | Mon, 21 Aug 2000 23:40:08 +0000 |
| Subject: | Re: Parsing XML files from remote host | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12846@lists.php.net to get a copy of this message | ||
Gregory Shohat wrote:
> I need to parse an XML file from another server into my PHP script. I've
> found a lot of info on how to do this locally, but I don't see anywhere on
> how to parse a remote
> file, something like http://server/my.xml or
> http://server/my.php3?result=xmloutput (assuming reuslt is xml
> output),
> anyone have a good link to read up on this remote thing specifically?
Read up on fopen(). If you know how to parse local XML files, you should
have no problems jamming an fopen()ed file through the XML parser as
well.
What I want to know is how to read raw post data and parse from there.
:-(
--
Simon Edwards
Animated Design, Melbourne
http://www.animated.net.au/ Ph: (03) 98850990