IPB

Welcome Guest ( Log In | Register )

> [php][ssl]SSL operation failed with code 1 解决方法
猫猫草
post 2017-09-18 15:39:54, Mon
Post #1


猫猫猫
***

Group: Power Cat
Posts: 626
Joined: 2006-12-8
Member No.: 2



代码
file_get_contents($url)
改成
代码
file_get_contents($url, false, stream_context_create(["ssl" => ["verify_peer"=>false]]));
Go to the top of the page
 
+Quote Post

Posts in this topic


Reply to this topicStart new topic
5 User(s) are reading this topic (5 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 2024-10-17 07:40