Created
March 9, 2017 09:54
-
-
Save ivanstan/a785a15568710fe8ede4633ac3fcd7a6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$context=array( | |
"ssl"=>array( | |
"allow_self_signed"=>true, | |
"verify_peer"=>false, | |
), | |
); | |
file_get_contents("https://example.com/", false, stream_context_create($context)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment