如何解决允许url fopen打开,但不能与file_get_contents一起使用
当我查看pinfo页面时,我的allow_url_fopen已打开
但是当我尝试做
$url = 'https://www.google.com/recaptcha/api/siteverify';
$response = file_get_contents($url,false,$context);
我有警告
<b>Warning</b>: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in
我做错了什么?
感谢您的帮助
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。