RE: [PHP] reading incoming xml

2008-03-01 Thread Larry Brown
D] | MSN Chat: [EMAIL PROTECTED] | SKYPE: bestplace | > Web: bestplace.biz | 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 > >

Re: [PHP] reading incoming xml

2008-03-01 Thread Nathan Nobbe
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 XM

RE: [PHP] reading incoming xml

2008-03-01 Thread Andrés Robinet
hat: [EMAIL PROTECTED]  |  SKYPE: bestplace |  Web: bestplace.biz  | 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 in

Re: [PHP] reading incoming xml

2008-03-01 Thread Daniel Brown
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 X

Re: [PHP] reading incoming xml

2008-03-01 Thread Larry Brown
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 vendorCompanyID Larry On Sat, 2008-03-01 at

Re: [PHP] reading incoming xml

2008-03-01 Thread Larry Brown
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 nee

Re: [PHP] reading incoming xml

2008-03-01 Thread Nathan Nobbe
On Sat, Mar 1, 2008 at 5:17 PM, Larry Brown < [EMAIL PROTECTED]> wrote: > I'm sending from a php cli with: > > $post = ' encoding="UTF-8"?>'.$vendorCompanyID.''; > > $message = generatePage($page, $post); > > $ch = curl_init(); > curl_setopt($ch, > CURLOPT_URL,'https://myserver/mytestpage.php'

Re: [PHP] reading incoming xml

2008-03-01 Thread Larry Brown
I'm sending from a php cli with: $post = ''.$vendorCompanyID.''; $message = generatePage($page, $post); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,'https://myserver/mytestpage.php'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 4); curl_setopt($ch,

Re: [PHP] reading incoming xml

2008-03-01 Thread Nathan Nobbe
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