php curl ssl verify false code example
Example 1: php curl ssl verify
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE);
Example 2: curl ssl verify false
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);