腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Php Curl :
超时
,关闭
连接
但不返回任何内容
、
当我对服务器运行curl并设置
超时
时,服务器无法传输由" content -Length“头设置的所有内容。问题是,
连接
由于
超时
而失败,并且没有剩余的输出。选项中是否有操作符允许在
连接
超时
的情况下将内容传输到输出? <?
浏览 29
提问于2019-06-06
得票数 2
1
回答
file_get_contents
连接
什么时候关闭?
、
因此,我了解到,一旦收到响应,
file_get_contents
将调用fclose()。然而,如果从来没有收到答复呢?php的默认
超时
将处理
超时
响应并关闭
连接
,还是
连接
将保持打开状态?如果
连接
保持打开,如何确保
连接
已关闭?还是我最好使用cURL?
浏览 3
提问于2016-01-19
得票数 0
回答已采纳
1
回答
PHP
file_get_contents
忽略
超时
?
、
、
timeout' => 5, )); $content = @
file_get_contents
浏览 0
提问于2010-09-11
得票数 15
回答已采纳
1
回答
在Foursquare应用程序上获取500个内部服务器错误
、
、
、
、
在服务器端,错误日志文件上存在
超时
错误: “这很奇怪,”&正在转换
file_get_contents
浏览 5
提问于2016-12-15
得票数 1
5
回答
file_get_contents
-
连接
超时
phpecho $ 为什么浏览器返回此错误?Warning:
file_get_contents
(http://www.google.com) [function.file-get-contents]: failed to open stream
浏览 0
提问于2010-11-16
得票数 8
3
回答
file_get_contents
超时
、
、
timeout = array('http' => array('timeout' => 6)); $xml =
file_get_contents
浏览 3
提问于2012-04-17
得票数 1
1
回答
simple_html_dom.php中的
连接
超时
、
错误消息: PHP警告:
file_get_contents
():无法打开流:第76行的/root/apps/kpi_tool_poc/simple_html_dom.php中的
连接
超时
,referer
浏览 0
提问于2017-11-11
得票数 0
1
回答
如何为ReCaptcha解锁ip地址
、
使用,我在本地机器上进行开发时,开始对recaptchas服务器端进行
超时
验证。我把它缩小到了ReCaptcha\RequestMethod\Post::submit中的一个
超时
,在那里
file_get_contents
被用来点击'https://www.google.com/recaptcha我发现我可以通过以下方式复制CLI的
超时
: php -r "var_dump(
file_get_contents
('https://w
浏览 2
提问于2018-02-27
得票数 0
2
回答
File_get_contents
()的
连接
超时
、
、
我目前使用的是
file_get_contents
。有时我会得到这样的信息我想这可能是因为网站宕机了。
浏览 0
提问于2011-01-19
得票数 0
回答已采纳
1
回答
Appfog
file_get_contents
和curl
连接
超时
、
、
、
、
我试过几件事: allow_url_fopen On有什么关于appfog的东西
浏览 4
提问于2014-01-10
得票数 2
回答已采纳
2
回答
在PHP中,使用
file_get_contents
&&
file_get_contents
会返回不同的值?
、
、
、
、
我当时在
file_get_contents
做一个轻微的测试。目的是测试2 urls是否存在,然后看看它们是否都有特定的string。类似于:$check_url2 = "www.example_2.com"; $view_loaded_url1= @
file_get_contents
($check_url1)&& $view_loaded_url2= @
file_get_contents
($check
浏览 4
提问于2016-03-27
得票数 0
回答已采纳
2
回答
file_get_contents
()
连接
超时
问题
我使用
file_get_contents
()来获取动态数据。这是我的脚本。$str =
file_get_contents
("http://cba.am/");谢谢
浏览 0
提问于2010-06-12
得票数 2
回答已采纳
1
回答
谷歌reCaptcha验证(站点化)
超时
、
但是,当我试图验证服务器端时,它花费的时间太长,然后我得到了一个
超时
。 $response = @
file_get_contents
($u);} 警告(2):
file_get_contents
({XXXXXXXXXX}&response={XXXXXXXXXXXX}&remoteip=xxx.x.xx.xx):
浏览 3
提问于2017-04-26
得票数 1
1
回答
通过Samba的文件系统中的文件的
file_get_contents
超时
、
、
我在尝试像这样使用
file_get_contents
时遇到错误$contents =
file_get_contents
($由于VPN
连接
出现问题,
file_get_contents
无法找到共享文件,并在尝试查找该文件时挂起了整个脚本。有没有一种方法可以向
file_get_contents
添加一个
超时
,大致相当于 $ctx = stream_context_create(array
浏览 0
提问于2020-06-11
得票数 1
2
回答
使用
file_get_contents
获取页面内容不返回任何内容
我正在尝试使用
file_get_contents
从roblox网站获取数据。我正在尝试访问“查找用户”页面:<?php $Result =
file_get_contents
("http://www.roblox.com/se
浏览 3
提问于2015-09-18
得票数 1
回答已采纳
1
回答
从ubuntu终端下载
、
、
、
、
我有一个问题,一些东西无法从终端下载,虽然我通过sudo apt-get update测试了
连接
,它可以工作,但类似curl -sS https://getcomposer.org/installer| php的东西给了我这个错误:下载失败:
file_get_contents
():无法打开流:
连接
超时
浏览 0
提问于2014-03-27
得票数 0
6
回答
file_get_contents
()是否有
超时
设置?
、
、
现在,我担心PHP的
file_get_contents
()是否有
超时
时间? 如果是,它将通过调用
超时
,并移动到下一链接。我不想在前一个链接没有完成的情况下调用下一个链接。所以,请告诉我
file_get_contents
()是否有
超时
时间。将包含
file_get_contents
()的文件设置为为零(无限制)。
浏览 1
提问于2012-04-20
得票数 166
3
回答
如何使用PHP检查url是否存在并使其在几秒钟后
超时
、
、
404 Not Found') {} $exists = true;return $exists;使用Curl通过以下代码设置
超时
时间:curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl
浏览 0
提问于2011-10-21
得票数 4
回答已采纳
1
回答
PHP
file_get_contents
在较大文件上返回504
、
以下是我提出的典型请求的两个例子:和 $g =
file_get_contents
("https://everypolit
浏览 2
提问于2016-04-05
得票数 1
回答已采纳
2
回答
file_get_contents
()不在同一台服务器上工作
、
我无法使用
file_get_contents
()从相同的服务器域获取内容。
file_get_contents
():未能打开流:
连接
超时
如果我有
file_get_contents
('http://google.com'),它就
浏览 2
提问于2014-04-09
得票数 1
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
实时音视频
对象存储
即时通信 IM
活动推荐
运营活动
广告
关闭
领券