On Sat, Mar 1, 2008 at 4:12 PM, Larry Brown
[EMAIL PROTECTED] wrote:
I am running apache with php. I set up a curl script to send an xml
request to the php page
did you use a request header to somehow set a mime type to indicate youre
looking for xml? could you show us this request, im not
I'm sending from a php cli with:
$post = '?xml version=1.0
encoding=UTF-8?Data'.$vendorCompanyID.'/Data';
$message = generatePage($page, $post);
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,'https://myserver/mytestpage.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
On Sat, Mar 1, 2008 at 5:17 PM, Larry Brown
[EMAIL PROTECTED] wrote:
I'm sending from a php cli with:
$post = '?xml version=1.0
encoding=UTF-8?Data'.$vendorCompanyID.'/Data';
$message = generatePage($page, $post);
$ch = curl_init();
curl_setopt($ch,
Thanks for the help Nathan. What I'm looking for though is how to
accept and read the incoming XML the way I was sending it in curl. I am
currently using that curl mechanism on the cli to connect to another
remote XML server successfully. I want to keep that side of the
equation the same. I
The incoming message to the server is:
POST /vendorXML.html HTTP/1.0
MIME-Version: 1.0
Content-type: text/html
Content-length: 114
Content-transfer-encoding: text
Request-number: 1
Document-type: Request
Interface-Version: Test 1.4
Connection: close
?xml version=1.0
On Sat, Mar 1, 2008 at 9:33 PM, Larry Brown
[EMAIL PROTECTED] wrote:
Thanks for the help Nathan. What I'm looking for though is how to
accept and read the incoming XML the way I was sending it in curl. I am
currently using that curl mechanism on the cli to connect to another
remote XML
| Web: seo-diy.com
-Original Message-
From: Larry Brown [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 01, 2008 9:43 PM
To: Nathan Nobbe
Cc: php
Subject: Re: [PHP] reading incoming xml
The incoming message to the server is:
POST /vendorXML.html HTTP/1.0
MIME-Version: 1.0
On Sat, Mar 1, 2008 at 9:33 PM, Larry Brown
[EMAIL PROTECTED] wrote:
Thanks for the help Nathan. What I'm looking for though is how to
accept and read the incoming XML the way I was sending it in curl. I am
currently using that curl mechanism on the cli to connect to another
remote XML
To: Nathan Nobbe
Cc: php
Subject: Re: [PHP] reading incoming xml
The incoming message to the server is:
POST /vendorXML.html HTTP/1.0
MIME-Version: 1.0
Content-type: text/html
Content-length: 114
Content-transfer-encoding: text
Request-number: 1
Document-type: Request
9 matches
Mail list logo