Problème SSL, connection au site Web
J'ai ce code pour me connecter à un server appelé Pinger TextFree pour un robot sur lequel je travaille: <?php function sendRequest($url, $postorget, $fields = array(), $proxy) { $cookie_file = "cookies.txt"; //Initiate connection $ch = curl_init(); curl_setopt($ch, CURLOPT_HTTPHEADER, $header); // set url curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_URL, $url); // set url curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // […]