简体   繁体   English

get_headers()达到重定向限制,正在中止。 无法打开流:操作正在进行中

[英]get_headers() Redirection limit reached, aborting. failed to open stream: Operation now in progress

trying to write a functional php script to detect charset retrieve web pages. 尝试编写功能性php脚本以检测字符集检索网页。 My script works, but if I enter get_headers () for webtrh.cz/66997-fakturace-ramci-dph?p=416206 我的脚本有效,但是如果我为webtrh.cz/66997-fakturace-ramci-dph?p=416206输入get_headers()

get_headers(http://webtrh.cz/66997-fakturace-ramci-dph?p=416206);

the result: get_headers() [function.get-headers]: Redirection limit reached, aborting. 结果:get_headers()[function.get-headers]:达到重定向限制,正在中止。 in /home/www/tcladin.cz/subdomains/www/include/funkce.php on line 583 Warning: get_headers( http://webtrh.cz/66997-fakturace-ramci-dph?p=416206 ) [function.get-headers]: failed to open stream: Operation now in progress in /home/www/tcladin.cz/subdomains/www/include/funkce.php on line 583 在第583行的/home/www/tcladin.cz/subdomains/www/include/funkce.php中,警告:get_headers( http://webtrh.cz/66997-fakturace-ramci-dph?p=416206 )[function.get -headers]:无法打开流:在第583行的/home/www/tcladin.cz/subdomains/www/include/funkce.php中正在进行操作

get_headers using to test URL get_headers用于测试URL

I received a similar error only pages from webtrh.cz Similarly, acts as the functions get_meta_tags (). 我从webtrh.cz仅收到了类似的错误页面,类似地,它充当函数get_meta_tags()。

"Functional" script is http://tcladin.cz/pokus/charset.php Further details on the Czech forum diskuse.jakpsatweb.cz/?action=vthread&forum=9&topic=104412, where unfortunately I have no answer “功能”脚本为http://tcladin.cz/pokus/charset.php 。有关捷克论坛diskuse.jakpsatweb.cz/?action=vthread&forum=9&topic=104412的更多详细信息,很遗憾,我没有答案

This website is broken, because your client function does not handle session IDs it will keep redirecting to itself. 该网站已损坏,因为您的客户端功能不处理会话ID,它将继续重定向到其自身。 Use a fully fledged HTTP client. 使用成熟的HTTP客户端。

HEAD -eS http://webtrh.cz/66997-fakturace-ramci-dph?p=416206
HEAD http://webtrh.cz/66997-fakturace-ramci-dph?p=416206 --> 301 Moved Permanently
HEAD http://webtrh.cz/66997-fakturace-ramci-dph?s=6e10b6d98d94e570cce1267cff4cbefb&p=416206 --> 301 Moved Permanently
HEAD http://webtrh.cz/66997-fakturace-ramci-dph?s=8989dd7c5daad97e23ca77b1ccadde06&s=6e10b6d98d94e570cce1267cff4cbefb&p=416206 --> 301 Moved Permanently
HEAD http://webtrh.cz/66997-fakturace-ramci-dph?s=a3defbb086f1810cc45df07b6669b961&s=8989dd7c5daad97e23ca77b1ccadde06&s=6e10b6d98d94e570cce1267cff4cbefb&p=416206 --> 301 Moved Permanently
HEAD http://webtrh.cz/66997-fakturace-ramci-dph?s=111a329fc1632272a0403db172579199&s=a3defbb086f1810cc45df07b6669b961&s=8989dd7c5daad97e23ca77b1ccadde06&s=6e10b6d98d94e570cce1267cff4cbefb&p=416206 --> 301 Moved Permanently
HEAD http://webtrh.cz/66997-fakturace-ramci-dph?s=318e7bc7ab78e5a2f96acddd6f84147c&s=111a329fc1632272a0403db172579199&s=a3defbb086f1810cc45df07b6669b961&s=8989dd7c5daad97e23ca77b1ccadde06&s=6e10b6d98d94e570cce1267cff4cbefb&p=416206 --> 301 Moved Permanently
HEAD http://webtrh.cz/66997-fakturace-ramci-dph?s=7679f6fbe731aef1ccfbc9550535bc9c&s=318e7bc7ab78e5a2f96acddd6f84147c&s=111a329fc1632272a0403db172579199&s=a3defbb086f1810cc45df07b6669b961&s=8989dd7c5daad97e23ca77b1ccadde06&s=6e10b6d98d94e570cce1267cff4cbefb&p=416206 --> 301 Moved Permanently
HEAD http://webtrh.cz/66997-fakturace-ramci-dph?s=427b87ff88b92928bc96f3464c64411f&s=7679f6fbe731aef1ccfbc9550535bc9c&s=318e7bc7ab78e5a2f96acddd6f84147c&s=111a329fc1632272a0403db172579199&s=a3defbb086f1810cc45df07b6669b961&s=8989dd7c5daad97e23ca77b1ccadde06&s=6e10b6d98d94e570cce1267cff4cbefb&p=416206 --> 301 Moved Permanently
Cache-Control: private, post-check=0, pre-check=0, max-age=0
Connection: close
Date: Tue, 29 Dec 2009 15:48:47 GMT
Pragma: no-cache
Location: http://webtrh.cz/66997-fakturace-ramci-dph?s=39c9ebd344b1a1b473fcba1dcaab38f8&s=427b87ff88b92928bc96f3464c64411f&s=7679f6fbe731aef1ccfbc9550535bc9c&s=318e7bc7ab78e5a2f96acddd6f84147c&s=111a329fc1632272a0403db172579199&s=a3defbb086f1810cc45df07b6669b961&s=8989dd7c5daad97e23ca77b1ccadde06&s=6e10b6d98d94e570cce1267cff4cbefb&p=416206
Server: Apache/2.2.3 (CentOS)
Content-Type: text/html; charset=UTF-8
Expires: 0
Client-Date: Tue, 29 Dec 2009 15:48:17 GMT
Client-Response-Num: 1
Client-Warning: Redirect loop detected (max_redirect = 7)
Set-Cookie: bbsessionhash=39c9ebd344b1a1b473fcba1dcaab38f8; path=/; domain=.webtrh.cz; HttpOnly
Set-Cookie: bblastvisit=1262101727; expires=Wed, 29-Dec-2010 15:48:47 GMT; path=/; domain=.webtrh.cz
Set-Cookie: bblastactivity=0; expires=Wed, 29-Dec-2010 15:48:47 GMT; path=/; domain=.webtrh.cz

X-Powered-By: PHP/5.1.6
X-UA-Compatible: IE=7

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 警告:file_get_contents:无法打开流:达到重定向限制,正在中止 - Warning: file_get_contents: failed to open stream: Redirection limit reached, aborting file_get_contents,无法打开流:达到重定向限制 - file_get_contents, failed to open stream: Redirection limit reached PHP - 无法打开流:达到重定向限制 - PHP - failed to open stream : redirection limit reached get_headers():SSL 操作失败,代码为 1 - get_headers(): SSL operation failed with code 1 CURL“无法打开流:已达到重定向限制”在本地有效,但在服务器上无效 - CURL “failed to open stream: Redirection limit reached” works local but not on server simplexml-load-file:无法打开流:已达到重定向限制 - simplexml-load-file : failed to open stream: Redirection limit reached curl / file_get_contents / get_headers“无法打开流” - curl/file_get_contents/get_headers “failed to open stream” TYPO3 v7.6.19:solr PHP警告:无法打开流:已达到重定向限制 - TYPO3 v7.6.19: solr PHP Warning: failed to open stream: Redirection limit reached 警告:get_headers(): SSL 操作失败,在线免费子域上的代码 1,解决方案? - Warning: get_headers(): SSL operation failed with code 1 on online free subdomaine, solution? PHP:get_headers 设置临时 stream_context - PHP: get_headers set temporary stream_context
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM