Re: Re: How to send XML requests from PHP?

From: Date: Wed, 09 May 2012 07:03:39 +0000
Subject: Re: Re: How to send XML requests from PHP?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-317828@lists.php.net to get a copy of this message
Michelle Konzack <linux4michelle@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?

« previous php.general (#317828) next »