ichadhr
6/14/2017 - 12:57 AM

file_get_contents over https #php

file_get_contents over https #php

<?php
	$url = https://web.com
	$arrContextOptions = array(
       "ssl" => array(
            "verify_peer"      => false,
            "verify_peer_name" => false
        )
    );
	
	$result = file_get_contents($url, false, stream_context_create($arrContextOptions));
?>