file_get_contents(): ssl: handshake timed out

2021. 3. 11. 11:01PHP

728x90

/* file_get_contents(): ssl: handshake timed out */ 


$arrContextOptions=array(
      "ssl"=>array(
            "verify_peer"=>false,
            "verify_peer_name"=>false,
        ),
);  

file_get_contents($url, false, stream_context_create($arrContextOptions));

728x90
반응형