Michelle Konzack <linux4miche...@tamay-dogan.net> hat am 8. Mai 2012 um
20:25 geschrieben:

> Hello Jim Lucas,
>
> Am 2012-05-08 11:08:13, hacktest Du folgendes herunter:
> > Look into cURL http://php.net/curl
>
> I know "curl" but I do not know, HOW to send the XML stuff.

$ch  =  curl_init ();
curl_setopt ( $ch ,  CURLOPT_URL ,  "http://www.example.com/"; );


Look at http://de.php.net/manual/en/function.curl-setopt.php and set all
other options you need
- post method i guess
- post body with your xml
- ....



curl_exec ( $ch );
curl_close ( $ch );


I you have build up you try and have some code, come back to the list and
tell us what didn't work and what you expect it to do. Then we can help
you. Do have a documentation how the request should look like? Headers to
be sent? Post/Get Parameters? Protocol?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to