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
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
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
> 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
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" =
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
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
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
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
9 matches
Mail list logo