Re: [PHP-DB] Passing XML

2001-06-30 Thread Hugh Bothwell
From: "olinux o" <[EMAIL PROTECTED]> To: "Hugh Bothwell" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, June 29, 2001 10:25 PM Subject: Re: [PHP-DB] Passing XML > Is this what you have in mind? > > $url = 'http://website.com/doc

Re: [PHP-DB] Passing XML

2001-06-30 Thread olinux o
Is this what you have in mind? $url = 'http://website.com/document.xml'; $str = implode('', file($url)); $str = contains the xml doc and retains formatting [spaces, newlines] $url could be a doc on the local server as well. --- Hugh Bothwell <[EMAIL PROTECTED]> wrote: > I'm not sure how you m

Re: [PHP-DB] Passing XML

2001-06-29 Thread Hugh Bothwell
I'm not sure how you mean; it depends on where the data is coming from. I count three ways you can do this: 1. pass the XML filename (or URL) to the script via GET or POST 2. pass the XML source to the script via POST 3. upload the file via POST and call the script More details on what you're tr

[PHP-DB] Passing XML

2001-06-28 Thread Niel Zeeman
Hi there Is there anyway of passing a xml document to a php page as raw data. What I want to do is eg. send a page a xml document and recieve a response ( in xml ) from that page. I could eg get the result using fopen( 'http://url.com/xml.php' , 'r' ) but how do i send it any data without usin