Working With HTTPS in CURL in PHP
The following commands allow CURL to get the text of sites working via the HTTPS protocol:
curl.php<?php
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
?>
Задание 1
Access the following site via CURL, which is running on HTTPS:
curl.php<?php
$url = '';
?>