Re: [PHP] receiving XML stream as server via PHP

2003-01-02 Thread Kristopher Yates
Hi, I thought there was only one XML standard (1.0)? I guess my question should have been, when someone commits an HTTP POST sending me raw xml data to my PHP script, I imagine PHP would store it in some global variable. What variable is that? Thanks, Kris Jimmy Brake wrote: depends on

Re: [PHP] receiving XML stream as server via PHP

2003-01-02 Thread Kristopher Yates
AH! That is my ticket! Thanks. Yes, my client was posting to my wanna be server script with mime type text/xml. I should be able to easilly take $HTTP_RAW_POST_DATA and pass it straight on to my XML parser. I imagine, when someone posts xml, $HTTP_RAW_POST_DATA will appear as an array.

Re: [PHP] receiving XML stream as server via PHP

2003-01-02 Thread Kristopher Yates
Hi Chris, Long time no talk to! Hope you had a good new year. Thanks for the info. My development is basically similar to SOAP and XML-RPC like that used for RSS. I'll probably get more into it [SOAP] when they [PEAR gurus] get past the beta testing stage. I am happy with what I have to

Re: [PHP] receiving XML stream as server via PHP

2003-01-02 Thread Chris Boget
Can you email me the URL to NuSOAP and the PEAR SOAP pages? I don't know much at all about the PEAR SOAP because it is still in testing. As for NuSOAP, I've just started using it myself and it seems to work well for what I've written so far. You can find NuSOAP here:

Re: [PHP] receiving XML stream as server via PHP

2002-12-31 Thread Timothy Hitchens \(HiTCHO\)
The variables will created (as of 4.x) in the $_POST and $_GET global arrays and you can then access them using what ever functions you need to use. As for XML if it is posted as raw you will get an error from Apache saying Bad Request. I have just setup an example to see what is possible to get

Re: [PHP] receiving XML stream as server via PHP

2002-12-31 Thread Timothy Hitchens \(HiTCHO\)
You can post to your server with a mimetype of text/xml and in your script pickup the raw post as: $HTTP_RAW_POST_DATA Then just process this string as XML and return to buffer or not. Have fun. Timothy Hitchens (HiTCHO) [EMAIL PROTECTED] HiTCHO | Open Platform Web Development Consutling -

RE: [PHP] receiving XML stream as server via PHP

2002-12-31 Thread Boget, Chris
Using PHP with cURL, I am currently able to dynamically create XML documents and HTTP POST to a remote server, receive an XML response, and parse XML as needed. What I am having trouble finding information on is doing the reverse. Basically, I am trying to create a PHP script that acts