[PHP] post xml file

2003-03-03 Thread qt
Dear Sirs, I am trying to post a xml file to following http. But I can not. where can I find some source to read. https://xxx.xxx.xxx.xx/servlet/com.oks.buing.xml.detdrd Any help welcome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] post xml

2003-03-03 Thread qt
Dear Sirs, I am trying to post xml file to http address but no result. I saw your script at the below but I can not understand How can send file? Can you help Best Regards "Mincu Alexandru" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > yes you can connect to the server from your

Re: [PHP] post xml

2003-02-27 Thread Mincu Alexandru
you can provide only one variable in the array: http_post( '195.57.250.36', 80, '/barceloDS/interface/xml', array( "xml"=>$xml ) ); On some date, Diana Castillo wrote: >thanks a lot I have a question, how would I specifiy the name of the >variable I am sending if I am

RE: [PHP] post xml

2003-02-27 Thread John W. Holmes
> I am sending an xml request as part of the url using urlencode to encode > my > xml. It doesnt work like that so the server that is receiving it doesnt > seem to like the data in the query string. > However, if I send it from a form using the method post then it works > fine. > Is there a way to

Re: [PHP] post xml

2003-02-27 Thread Mincu Alexandru
yes you can connect to the server from your PHP script and send a post request .. here is a function that would help: --- PHP -- function http_post($server, $port, $url, $vars) { // example: // http_post( // "www.fat.com", // 80, // "/weightloss.pl", // array("name" =

[PHP] post xml

2003-02-27 Thread Diana Castillo
I am sending an xml request as part of the url using urlencode to encode my xml. It doesnt work like that so the server that is receiving it doesnt seem to like the data in the query string. However, if I send it from a form using the method post then it works fine. Is there a way to send it by me

Re: [PHP] Post XML to PHP via XMLHTTP VB Object

2001-05-01 Thread Samantha Savvakis
Hi, I tried the HTTP_RAW_POST_DATA array, but it doesn't appear to exist. Then I just tried to access it like a variable and it's empty. Have I not got something setup correctly for PHP? Thanks, Sam "Steve Meyers" wrote in message <9cn71i$d03$[EMAIL PROTECTED]>... >Try using the $HTTP_RAW_POST

Re: [PHP] Post XML to PHP via XMLHTTP VB Object

2001-05-01 Thread Steve Meyers
Try using the $HTTP_RAW_POST_DATA array. -- Steve Meyers [EMAIL PROTECTED] ""PHP"" <[EMAIL PROTECTED]> wrote in message 9clmgq$2fc$[EMAIL PROTECTED]">news:9clmgq$2fc$[EMAIL PROTECTED]... > Hi, > > I'm trying to the MSXML DOM 3 from Visual Basic and send XML to a PHP page > that sits on my Apac

[PHP] Post XML to PHP via XMLHTTP VB Object

2001-04-30 Thread PHP
Hi, I'm trying to the MSXML DOM 3 from Visual Basic and send XML to a PHP page that sits on my Apache web server on SCO Unix. This is my VB Code: Dim xmlstr As New XMLHTTP30 Dim sXML As String sXML = "Content-Type: text/xml;" sXML = sXML & "" sXML = sXML & "Initialize" sXML = sXML & "True" sXM