Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
irudder
›
全部回复第 1 页 / 共 1 页
回复总数
1
2019 年 4 月 2 日
回复了
xiaoyong
创建的主题
›
PHP
›
在函数 file_get_contents():中使用 https 协议时出错
遇到同样的问题
解决办法:
$stream_opts = [
"ssl" => [
"verify_peer"=>false,
"verify_peer_name"=>false,
]
];
$response = file_get_contents("
https://www.example.com
",
false, stream_context_create($stream_opts));
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
1029 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms ·
UTC 18:34
·
PVG 02:34
·
LAX 11:34
·
JFK 14:34
♥ Do have faith in what you're doing.
❯