腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
如何
修复
JSON
内容
中
出现
负数
导致
的
php
file_get_contents
警告
?
、
、
我尝试使用
file_get_contents
()通过Zoho
的
COQL API ()执行SQL查询,以获得经度和纬度范围内
的
客户列表。当我传递SQL语句时,
file_get_contents
()无法打开流。 我已经对这个问题进行了两个多小时
的
故障排除,据我所知,这个问题只有在查询中
出现
负数
时才会发生。为了保护隐私,我更改了经度和纬度数字,但除此之外,这是我正在使用
的
代码。/src/coql.
php
</
浏览 11
提问于2019-07-31
得票数 0
6
回答
file_get_contents
():对等证书不匹配
我使用了
PHP
5.5,但我不得不更新它,现在我使用
的
是
PHP
5.6.19。现在,当我试图与外部API通信时,我会收到
警告
: 它还没有
出现
在以前
的
PHP
版本
中
。我决定禁用对等版本,直到我
的
管理员
修复<
浏览 0
提问于2016-03-16
得票数 13
回答已采纳
1
回答
HTTPS错误CodeIgniter Twitter REST
、
、
、
如何
修复
此HTTPS错误?当我遇到以下错误时,我正试图学习
如何
将与CodeIgniter结合使用 严重程度:
警告
线路号码: 36严重程度:
警告
$a =
json
_decode(
file_ge
浏览 5
提问于2013-04-27
得票数 1
回答已采纳
1
回答
警告
:
file_get_contents
、
、
我目前收到
的
错误是
警告
:
file_get_contents
()函数.文件-获取
内容
:未能打开流
浏览 3
提问于2014-02-02
得票数 0
回答已采纳
2
回答
如何
修复
PHP
警告
:
file_get_contents
?
、
、
我收到以下
警告
:main.
php
的
第29行如下所示:以下是与$
浏览 1
提问于2011-09-29
得票数 2
回答已采纳
1
回答
为什么我在
file_get_contents
中看到错误“HTTP/1.0463”
、
、
我正在尝试从Habbo中提取文本
内容
,但收到错误
警告
:
file_get_contents
(https://www.habbo.it/api/public/users?HTTP / 1.0 463 HTTP请求在
file_get_contents
中
失败。 <?
php
$url = "https://www.habbo.it/api
浏览 28
提问于2019-10-01
得票数 0
2
回答
访问youtube api时出错:“
警告
:
file_get_contents
() [Function.file-get-content]:URL > file-access被禁用.”
、
、
、
我试着跟着这个答案: $
json
=
file_get_contents
("https://gdata.youtube.com/feeds/api/videosv=2&alt=
json
");$video_title = $
json
浏览 2
提问于2012-11-04
得票数 0
回答已采纳
1
回答
WAMP2 (Apache2.4.4,
PHP
5.4.12)
中
的
"Warning:
file_get_contents
“
、
、
、
我试着用简单
的
方法获取网页
的
内容
:$result =
file_get_contents
($url);但是我收到以下
警告
,并且$result
中
没有
内容
Warning:
file_get_contents
(http://www.google.com): in C:\wamp\www\google\g
浏览 0
提问于2013-08-12
得票数 0
1
回答
在
PHP
中
操作post
json
、
、
我把
json
数据从一个
php
文件发布到另一个文件。当我试图在最终
的
php
文件
中
访问
json
的
不同部分时,我得到了“非法字符串偏移”
警告
。{ "date":"2020-05-14 09:16:
浏览 18
提问于2020-05-15
得票数 0
回答已采纳
2
回答
jQuery ajax参数未按预期传递给
php
、
、
、
/reports.
php
", type: "post",$rawJson =
file_get_contents
("
php
:/
浏览 2
提问于2021-08-25
得票数 0
回答已采纳
1
回答
PHP
5.3是否改变了
file_get_contents
的
工作方式?
、
我对
PHP
的
file_get_contents
有一个奇怪
的
问题。 过去,远程文件上
的
file_get_contents
将返回该文件
的
文本,而不管返回
的
HTTP代码
如何
。如果我命中了一个API,并返回状态为500
的
JSON
错误信息,
file_get_contents
将给出该
JSON
(没有发现错误代码
的
迹象)。我刚刚设置了一个Ubuntu10.04
浏览 1
提问于2010-05-05
得票数 3
回答已采纳
2
回答
无法在hostgator服务器上使用
php
函数
、
我编写了一个
php
脚本,并在hostgator服务器上运行它,它给出了以下错误: 它无法加载函数文件-get-content()。我在我
的
程序中直接使用这个函数。当我在joomla文章
中
运行这段代码时,它可以正常
浏览 0
提问于2014-06-25
得票数 0
回答已采纳
21
回答
file_get_contents
():SSL操作失败,代码1无法启用加密
、
、
、
>
警告
:
file_get_contents
():在第2行
的
...
php
中
启用密码失败Street=&SingleLine
浏览 19
提问于2014-10-01
得票数 257
回答已采纳
2
回答
PHP
Curl发送
JSON
数据
、
、
我正在学习本教程:$url = "http://localhost/test/test1.
php
"; $data_string =
json
_encode($data);CURLOPT_RETURNTRANSFER, true
浏览 0
提问于2017-09-18
得票数 0
1
回答
长破折号在
file_get_contents
后不能正确编码
、
、
、
、
所以我有一条绳子 然而,当使用
file_get_contents
打开文件时,破折号会转换成某些奇怪
的
字符.如果我回显
file_get_contents
"5.在Dash�之前“Dash” 这会
导致
json</
浏览 3
提问于2013-09-24
得票数 1
回答已采纳
1
回答
代码点火器
中
的
RestServer :查看加载时401次未经授权
的
响应
、
、
我正在使用Chris
的
Codeigniter
中
的
setup服务器,并使用session设置rest_auth。当我登录时,我访问其view.
php
通过
file_get_contents
获得响应
的
页面,并返回401未经授权
的
响应。当我在一个新
的
选项卡
中
访问API
的
直接页面时,它将正确地返回
json
。view.
php
以这种方式加载API
内容
:
json</em
浏览 6
提问于2017-09-10
得票数 2
6
回答
使用
php
,API自动获取纬度和经度
、
在我
的
php
应用程序
中
,我必须从地址中了解这个地方
的
纬度和经度。我试过这个代码:$
json
=
json</e
浏览 14
提问于2011-12-26
得票数 24
回答已采纳
5
回答
无法使用
file_get_contents
()获取数组值,但可以使用本地文件
、
、
JSON
链接:$string =
file_get_contents
("http://vgmdb.info/album/79?;$string =
file_get_contents
("jsonfile.
json
"); $
json
_a=
json
_decode($string,tr
浏览 8
提问于2015-10-27
得票数 1
回答已采纳
1
回答
为foreach()提供
的
无效参数-不能通过两个数组循环
、
、
我
的
代码应该将array_inv
中
的
"item_name“转换为array_schema
中
的
”item_name“: $array_schema>
警告
:
file_get_contents
浏览 5
提问于2015-05-11
得票数 0
回答已采纳
2
回答
PHP
:
file_get_contents
与
json
_decode不协同工作
、
在使用
file_get_contents
阅读
json
文件后,我遇到了一个问题。<?
php
$data =
json
_decode($
json
,true);结果:*空- Nothig
出现
* 当我运行这段代码时,要检查
file
浏览 0
提问于2016-07-19
得票数 4
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
腾讯会议
云直播
对象存储
活动推荐
运营活动
广告
关闭
领券