PHP CURL & HTTPS
Quick fix, add this in your options: curl_setopt($ch,CURLOPT_SSL_VERIFYPEER, false) Now you have no idea what host you’re actually connecting to, because cURL will not verify the certificate in any way. Hope you enjoy man-in-the-middle attacks! Or just add it to your current function: /** * Get a web file (HTML, XHTML, XML, image, etc.) from … Read more