Advertisement
Guest User

Untitled

a guest
Sep 30th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  2.  
  3. curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
  4. curl_setopt($ch, CURLOPT_CAINFO, realpath(getcwd() . '/cacert.pem'));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement