hacksi | Code :
- curl_setopt($aCUrl, CURLOPT_URL, "*****" );
- curl_setopt($aCUrl, CURLOPT_SSLVERSION, 3);
- curl_setopt($aCUrl, CURLOPT_POST, 1);
- curl_setopt($aCUrl, CURLOPT_POSTFIELDS, http_build_query($_POST));
- curl_setopt($aCUrl, CURLOPT_POSTFIELDS, "user_id=".$donnees['***']."&user_name=".$donnees['****']." ".$donnees['****']."&user_phone=".$donnees['****']."&user_email=".$donnees['****']);
- curl_setopt($aCUrl, CURLOPT_SSL_VERIFYPEER, 0);
- curl_setopt($aCUrl, CURLOPT_CAINFO, "c:/Program Files/wamp/www/cert.crt" );
- curl_setopt($aCUrl, CURLOPT_RETURNTRANSFER, TRUE);
- curl_setopt($aCUrl, CURLOPT_USERAGENT, $defined_vars['HTTP_USER_AGENT']);
|
Cela fonctionne mais comment exploter une réponse http en XML... |